aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/notes/notes.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/notes/notes.html b/plugin/notes/notes.html
index d0d88dc..8523e98 100644
--- a/plugin/notes/notes.html
+++ b/plugin/notes/notes.html
@@ -288,7 +288,7 @@
'backgroundTransition=none'
].join( '&' );
- var urlSeparator = /?/.test(data.url) ? '&' : '?';
+ var urlSeparator = /\?/.test(data.url) ? '&' : '?';
var hash = '#/' + data.state.indexh + '/' + data.state.indexv;
var currentURL = data.url + urlSeparator + params + '&postMessageEvents=true' + hash;
var upcomingURL = data.url + urlSeparator + params + '&controls=false' + hash;