diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2016-03-09 09:37:10 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2016-03-09 09:37:19 +0100 |
commit | 922677ac66d6a40eba23e5f9ac3fc10d9145b203 (patch) | |
tree | bd949d3cba6c5f1c1bd299178f6e691e8b7c9f00 /plugin/notes/notes.html | |
parent | 7cee8878154ccc458ecb06c85f62613b40a2311b (diff) | |
download | perl-software-in-gnu-guix-922677ac66d6a40eba23e5f9ac3fc10d9145b203.tar perl-software-in-gnu-guix-922677ac66d6a40eba23e5f9ac3fc10d9145b203.tar.gz |
fix notes regex #1522 #1392
Diffstat (limited to 'plugin/notes/notes.html')
-rw-r--r-- | plugin/notes/notes.html | 2 |
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; |