fix notes regex #1522 #1392

This commit is contained in:
Hakim El Hattab 2016-03-09 09:37:10 +01:00
parent 7cee887815
commit 922677ac66

View file

@ -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;