speaker view has visible connection status, times out with error after 5s

This commit is contained in:
Hakim El Hattab 2018-04-24 14:23:28 +02:00
parent f1133f0e10
commit 5771ae39f0
2 changed files with 31 additions and 0 deletions

View file

@ -21,6 +21,11 @@ var RevealNotes = (function() {
var notesPopup = window.open( notesFilePath, 'reveal.js - Notes', 'width=1100,height=700' );
if( !notesPopup ) {
alert( 'Speaker view popup failed to open. Please make sure popups are allowed and reopen the speaker view.' );
return;
}
// Allow popup window access to Reveal API
notesPopup.Reveal = this.Reveal;