summaryrefslogtreecommitdiffhomepage
path: root/plugin/notes
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/notes')
-rw-r--r--plugin/notes/notes.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugin/notes/notes.html b/plugin/notes/notes.html
index 0ef285b..0e1238f 100644
--- a/plugin/notes/notes.html
+++ b/plugin/notes/notes.html
@@ -139,11 +139,11 @@
<body>
<div id="wrap-current-slide" class="slides">
- <script>document.write( '<iframe width="1280" height="1024" id="current-slide" src="'+ window.opener.location.href +'"></iframe>' );</script>
+ <script>document.write( '<iframe width="1280" height="1024" id="current-slide" src="'+ window.opener.location.href +'?receiver"></iframe>' );</script>
</div>
<div id="wrap-next-slide" class="slides">
- <script>document.write( '<iframe width="640" height="512" id="next-slide" src="'+ window.opener.location.href +'"></iframe>' );</script>
+ <script>document.write( '<iframe width="640" height="512" id="next-slide" src="'+ window.opener.location.href +'?receiver"></iframe>' );</script>
<span>UPCOMING:</span>
</div>
@@ -239,6 +239,10 @@
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 {