merge in notes improvement

This commit is contained in:
hakimel 2013-02-06 19:15:30 -05:00
parent fd7d09f697
commit 380264afc8
2 changed files with 17 additions and 17 deletions

View file

@ -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' );