aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDougal J. Sutherland <dougal@gmail.com>2019-03-11 22:25:19 -0400
committerGitHub <noreply@github.com>2019-03-11 22:25:19 -0400
commit00e30a11e2ea0e2b20a4733955c1567a84f2b139 (patch)
tree2c26eab78a94e277f2ee686afcf0ee0121deecbc
parentda53b3a637ff0e680469ad18ac20ef50cfb4334a (diff)
downloadfreenode-live-2017-presentation-00e30a11e2ea0e2b20a4733955c1567a84f2b139.tar
freenode-live-2017-presentation-00e30a11e2ea0e2b20a4733955c1567a84f2b139.tar.gz
notes plugin: callRevealApi wants apply, not call
-rw-r--r--plugin/notes/notes.js2
1 files changed, 1 insertions, 1 deletions
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',