summaryrefslogtreecommitdiffhomepage
path: root/plugin/notes
diff options
context:
space:
mode:
authorChris Lawrence2013-09-15 20:19:47 -0400
committerChris Lawrence2013-09-15 20:19:47 -0400
commit55f220109c4f3e7c870ebfafa6533415d5e76111 (patch)
treed587896348e7f5d0d30752e5cb72da89d049dfec /plugin/notes
parentd8fb09fb64aa238a2fecafadb3839b8491f919b5 (diff)
parent9cf7de54b8fb6bdad1342d087adfeea94604a674 (diff)
Merge remote-tracking branch 'upstream/master'
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 {