diff options
author | Hakim El Hattab | 2018-04-24 14:23:28 +0200 |
---|---|---|
committer | Hakim El Hattab | 2018-04-24 14:23:28 +0200 |
commit | 5771ae39f091966e603d3e1e5e64fbc0f387be64 (patch) | |
tree | 900507fc6ca6000feddac9531e640523dd845503 /plugin/notes/notes.js | |
parent | f1133f0e103d6a75f5a8d4e884052c818ea86f3a (diff) |
speaker view has visible connection status, times out with error after 5s
Diffstat (limited to 'plugin/notes/notes.js')
-rw-r--r-- | plugin/notes/notes.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/notes/notes.js b/plugin/notes/notes.js index 3f00eb6..7622858 100644 --- a/plugin/notes/notes.js +++ b/plugin/notes/notes.js @@ -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; |