update for cityline
parent
3e1e25026c
commit
39cdc9c94a
|
@ -27,7 +27,7 @@ function begin()
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
if(url.indexOf('lang=TW') > -1) {
|
if(url.indexOf('lang=TW') > -1) {
|
||||||
const myArray = url.split("lang=TW");
|
const myArray = url.split("lang=TW");
|
||||||
url = url[0]+"lang=TW";
|
//url = url[0]+"lang=TW";
|
||||||
}
|
}
|
||||||
$(".eventposter").off();
|
$(".eventposter").off();
|
||||||
if (typeof setRetryUrl !== "undefined") {
|
if (typeof setRetryUrl !== "undefined") {
|
||||||
|
@ -109,7 +109,8 @@ if(getHtmlDocName()==null) {
|
||||||
history.back();
|
history.back();
|
||||||
}
|
}
|
||||||
if (typeof goEvent !== "undefined") {
|
if (typeof goEvent !== "undefined") {
|
||||||
if(location.href.indexOf('home?') > -1) {
|
if(location.href.indexOf('home?') > -1
|
||||||
|
|| location.href.indexOf('lang=') > -1) {
|
||||||
//goEvent();
|
//goEvent();
|
||||||
} else {
|
} else {
|
||||||
history.back();
|
history.back();
|
||||||
|
|
Loading…
Reference in New Issue