support query parameters within notes plugin

This commit is contained in:
FND 2015-04-02 07:06:03 +02:00
parent 8858ee75a5
commit 4052389c58

View File

@ -28,7 +28,7 @@ var RevealNotes = (function() {
notesPopup.postMessage( JSON.stringify( { notesPopup.postMessage( JSON.stringify( {
namespace: 'reveal-notes', namespace: 'reveal-notes',
type: 'connect', type: 'connect',
url: window.location.protocol + '//' + window.location.host + window.location.pathname, url: window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search,
state: Reveal.getState() state: Reveal.getState()
} ), '*' ); } ), '*' );
}, 500 ); }, 500 );