configure notes window presentations to hide needless UI
authorHakim El Hattab <hakim.elhattab@gmail.com>
Thu, 29 Aug 2013 13:28:16 +0000 (09:28 -0400)
committerHakim El Hattab <hakim.elhattab@gmail.com>
Thu, 29 Aug 2013 13:28:38 +0000 (09:28 -0400)
plugin/notes/notes.html

index 0ef285bc09f93832c0124f47316cc269fa8edc17..7e542e4b0dae3f086f8ab052f82ae09c0e5f9e44 100644 (file)
                                        currentSlide.contentWindow.Reveal.addEventListener( 'fragmentshown', synchronizeMainWindow );
                                        currentSlide.contentWindow.Reveal.addEventListener( 'fragmenthidden', synchronizeMainWindow );
 
+                                       // Reconfigure the notes window to remove needless UI
+                                       currentSlide.contentWindow.Reveal.configure({ controls: false, progress: false, overview: false });
+                                       nextSlide.contentWindow.Reveal.configure({ controls: false, progress: false, overview: false });
+
                                }
                                else {