aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2016-03-09 09:37:10 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2016-03-09 09:37:19 +0100
commit922677ac66d6a40eba23e5f9ac3fc10d9145b203 (patch)
treebd949d3cba6c5f1c1bd299178f6e691e8b7c9f00
parent7cee8878154ccc458ecb06c85f62613b40a2311b (diff)
downloadperl-software-in-gnu-guix-922677ac66d6a40eba23e5f9ac3fc10d9145b203.tar
perl-software-in-gnu-guix-922677ac66d6a40eba23e5f9ac3fc10d9145b203.tar.gz
fix notes regex #1522 #1392
-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;