Intermediary page needs to remove fragments for baseUrl
Otherwise image pinging won't work properly.
This commit is contained in:
parent
9fbe130169
commit
f0acacec6a
1 changed files with 3 additions and 0 deletions
|
|
@ -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")) + "/";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue