From 00e30a11e2ea0e2b20a4733955c1567a84f2b139 Mon Sep 17 00:00:00 2001 From: "Dougal J. Sutherland" Date: Mon, 11 Mar 2019 22:25:19 -0400 Subject: notes plugin: callRevealApi wants apply, not call --- plugin/notes/notes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin') diff --git a/plugin/notes/notes.js b/plugin/notes/notes.js index 4dc88ca..874e66d 100644 --- a/plugin/notes/notes.js +++ b/plugin/notes/notes.js @@ -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', -- cgit v1.2.3