aboutsummaryrefslogtreecommitdiff
path: root/plugin/notes/notes.js
diff options
context:
space:
mode:
authorhakimel <hakim.elhattab@gmail.com>2013-02-06 19:15:30 -0500
committerhakimel <hakim.elhattab@gmail.com>2013-02-06 19:15:30 -0500
commit380264afc8468544d82f3e50115cef249f08fff5 (patch)
treede4229d8a040c353747e8d60ecb187c330ec9554 /plugin/notes/notes.js
parentfd7d09f6972443279e7d06397b52ddd9d789f51e (diff)
downloadfosdem-2018-presentation-380264afc8468544d82f3e50115cef249f08fff5.tar
fosdem-2018-presentation-380264afc8468544d82f3e50115cef249f08fff5.tar.gz
merge in notes improvement
Diffstat (limited to 'plugin/notes/notes.js')
-rw-r--r--plugin/notes/notes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/notes/notes.js b/plugin/notes/notes.js
index 72f6a10..63de05a 100644
--- a/plugin/notes/notes.js
+++ b/plugin/notes/notes.js
@@ -5,7 +5,7 @@
var RevealNotes = (function() {
function openNotes() {
- var jsFileLocation = document.querySelector('script[src*=notes]').src; // this js file path
+ var jsFileLocation = document.querySelector('script[src$="notes.js"]').src; // this js file path
jsFileLocation = jsFileLocation.replace(/notes\.js(\?.*)?$/, ''); // the js folder path
var notesPopup = window.open( jsFileLocation + 'notes.html', 'reveal.js - Notes', 'width=1120,height=850' );