|
@@ -5,7 +5,9 @@
|
|
|
var RevealNotes = (function() {
|
|
|
|
|
|
function openNotes() {
|
|
|
- var notesPopup = window.open( 'plugin/notes/notes.html', 'reveal.js - Notes', 'width=1120,height=850' );
|
|
|
+ var jsFileLocation = document.querySelector('script[src*=notes]').src;
|
|
|
+ jsFileLocation = jsFileLocation.replace(/notes\.js(\?.*)?$/, '');
|
|
|
+ var notesPopup = window.open( jsFileLocation + 'notes.html', 'reveal.js - Notes', 'width=1120,height=850' );
|
|
|
|
|
|
|
|
|
Reveal.addEventListener( 'slidechanged', function( event ) {
|