diff --git a/plugin/notes/notes.html b/plugin/notes/notes.html
index d0d88dcf232..8523e9886c8 100644
--- a/plugin/notes/notes.html
+++ b/plugin/notes/notes.html
@@ -288,7 +288,7 @@
Notes
'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;