Skip to content
Snippets Groups Projects
Unverified Commit 7b66abd4 authored by Hakim El Hattab's avatar Hakim El Hattab Committed by GitHub
Browse files

Merge pull request #2346 from dougalsutherland/patch-3

notes plugin: callRevealApi wants apply, not call
parents da53b3a6 00e30a11
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ var RevealNotes = (function() {
*/
function callRevealApi( methodName, methodArguments, callId ) {
var result = Reveal[methodName].call( Reveal, methodArguments );
var result = Reveal[methodName].apply( Reveal, methodArguments );
notesPopup.postMessage( JSON.stringify( {
namespace: 'reveal-notes',
type: 'return',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment