update for cityline

master
Your Name 2024-04-15 10:12:05 +08:00
parent 3e1e25026c
commit 39cdc9c94a
1 changed files with 3 additions and 2 deletions

View File

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