Skip to content

Commit

Permalink
fix notes regex #1522 #1392
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Mar 9, 2016
1 parent 7cee887 commit 922677a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/notes/notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ <h4 class="label">Notes</h4>
'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;
Expand Down

0 comments on commit 922677a

Please sign in to comment.