Intermediary page needs to remove fragments for baseUrl

Otherwise image pinging won't work properly.
This commit is contained in:
Gina Häußge 2015-12-18 14:30:53 +01:00
parent 9fbe130169
commit f0acacec6a

View file

@ -133,6 +133,9 @@
var timeout = 1500;
var baseUrl = window.location.href;
if (baseUrl.indexOf("#") > -1) {
baseUrl = baseUrl.substring(0, baseUrl.indexOf("#"));
}
if (baseUrl.indexOf("/static") > -1) {
baseUrl = baseUrl.substring(0, baseUrl.indexOf("/static")) + "/";
}