Skip to content

Commit

Permalink
Merge pull request hakimel#2346 from dougalsutherland/patch-3
Browse files Browse the repository at this point in the history
notes plugin: callRevealApi wants apply, not call
  • Loading branch information
hakimel authored Mar 12, 2019
2 parents da53b3a + 00e30a1 commit 7b66abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/notes/notes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 7b66abd

Please sign in to comment.