1
0
Преглед на файлове

notes plugin: callRevealApi wants apply, not call

Dougal J. Sutherland преди 5 години
родител
ревизия
00e30a11e2
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      plugin/notes/notes.js

+ 1 - 1
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',