fix notes regex #1522 #1392

edit
Hakim El Hattab 2016-03-09 09:37:10 +01:00
parent 7cee887815
commit 922677ac66
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@
'backgroundTransition=none' 'backgroundTransition=none'
].join( '&' ); ].join( '&' );
var urlSeparator = /?/.test(data.url) ? '&' : '?'; var urlSeparator = /\?/.test(data.url) ? '&' : '?';
var hash = '#/' + data.state.indexh + '/' + data.state.indexv; var hash = '#/' + data.state.indexh + '/' + data.state.indexv;
var currentURL = data.url + urlSeparator + params + '&postMessageEvents=true' + hash; var currentURL = data.url + urlSeparator + params + '&postMessageEvents=true' + hash;
var upcomingURL = data.url + urlSeparator + params + '&controls=false' + hash; var upcomingURL = data.url + urlSeparator + params + '&controls=false' + hash;