Explorar o código

Allow popup window access to Reveal API

Adam Spiers %!s(int64=8) %!d(string=hai) anos
pai
achega
eb23e58114
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      plugin/notes/notes.js

+ 3 - 0
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