merge in notes improvement
This commit is contained in:
		| @@ -5,7 +5,7 @@ | |||||||
| var RevealNotes = (function() { | var RevealNotes = (function() { | ||||||
|  |  | ||||||
| 	function openNotes() { | 	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 | 		jsFileLocation = jsFileLocation.replace(/notes\.js(\?.*)?$/, '');   // the js folder path | ||||||
| 		var notesPopup = window.open( jsFileLocation + 'notes.html', 'reveal.js - Notes', 'width=1120,height=850' ); | 		var notesPopup = window.open( jsFileLocation + 'notes.html', 'reveal.js - Notes', 'width=1120,height=850' ); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user