notes plugin: callRevealApi wants apply, not call
This commit is contained in:
parent
da53b3a637
commit
00e30a11e2
@ -68,7 +68,7 @@ var RevealNotes = (function() {
|
|||||||
*/
|
*/
|
||||||
function callRevealApi( methodName, methodArguments, callId ) {
|
function callRevealApi( methodName, methodArguments, callId ) {
|
||||||
|
|
||||||
var result = Reveal[methodName].call( Reveal, methodArguments );
|
var result = Reveal[methodName].apply( Reveal, methodArguments );
|
||||||
notesPopup.postMessage( JSON.stringify( {
|
notesPopup.postMessage( JSON.stringify( {
|
||||||
namespace: 'reveal-notes',
|
namespace: 'reveal-notes',
|
||||||
type: 'return',
|
type: 'return',
|
||||||
|
Loading…
Reference in New Issue
Block a user