projects
/
reveal.js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2ab30b
)
update main window when current slide changes in notes (closes #343)
author
Hakim El Hattab
<hakim.elhattab@gmail.com>
Wed, 27 Feb 2013 21:55:42 +0000
(16:55 -0500)
committer
Hakim El Hattab
<hakim.elhattab@gmail.com>
Wed, 27 Feb 2013 21:55:42 +0000
(16:55 -0500)
plugin/notes/notes.html
patch
|
blob
|
history
diff --git
a/plugin/notes/notes.html
b/plugin/notes/notes.html
index 50d172a989eedad96119600fcb9beaa50924e32f..e14c6ac7e1bcf4a12977ba81d8cc333952dd3ff8 100644
(file)
--- a/
plugin/notes/notes.html
+++ b/
plugin/notes/notes.html
@@
-225,6
+225,13
@@
}, 1000 );
+ // Navigate the main window when the notes slide changes
+ currentSlide.contentWindow.Reveal.addEventListener( 'slidechanged', function( event ) {
+
+ window.opener.Reveal.slide( event.indexh, event.indexv );
+
+ } );
+
}
else {