Skip to content
This repository has been archived by the owner on Sep 13, 2021. It is now read-only.

Commit

Permalink
fix notes regex hakimel#1522 hakimel#1392
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Mar 9, 2016
1 parent 8c9a0e8 commit 839398c
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 839398c

Please sign in to comment.