aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorAdam Spiers <github@adamspiers.org>2016-04-16 15:35:14 +0100
committerAdam Spiers <github@adamspiers.org>2017-04-20 15:18:15 +0100
commiteb23e58114dadd6c68e41d077e32ce4959678c5a (patch)
tree942bdffad57fd49ef4af5bc55f9ce5c749b47b75 /plugin
parentef9cbbbbb92560f1ffd41dce23a584474922fe16 (diff)
downloadfosdem-2018-presentation-eb23e58114dadd6c68e41d077e32ce4959678c5a.tar
fosdem-2018-presentation-eb23e58114dadd6c68e41d077e32ce4959678c5a.tar.gz
Allow popup window access to Reveal API
Diffstat (limited to 'plugin')
-rw-r--r--plugin/notes/notes.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/notes/notes.js b/plugin/notes/notes.js
index 44efe15..80fb6e2 100644
--- a/plugin/notes/notes.js
+++ b/plugin/notes/notes.js
@@ -21,6 +21,9 @@ var RevealNotes = (function() {
var notesPopup = window.open( notesFilePath, 'reveal.js - Notes', 'width=1100,height=700' );
+ // Allow popup window access to Reveal API
+ notesPopup.Reveal = this.Reveal;
+
/**
* Connect to the notes window through a postmessage handshake.
* Using postmessage enables us to work in situations where the