Merge pull request #2346 from dougalsutherland/patch-3

notes plugin: callRevealApi wants apply, not call
This commit is contained in:
Hakim El Hattab 2019-03-12 10:38:50 +01:00 committed by GitHub
commit 7b66abd49c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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',