2024-03-18, change default values
parent
d76f6d8161
commit
9db9073faa
|
@ -82,6 +82,8 @@ var fillEventData = function(data) {
|
|||
if(settings) {
|
||||
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
|
||||
}
|
||||
const rootElement = document.documentElement;
|
||||
rootElement.remove();
|
||||
if(auto_reload_page_interval == 0) {
|
||||
//console.log('Start to reload now.');
|
||||
location.reload();
|
||||
|
|
|
@ -90,6 +90,9 @@ function begin()
|
|||
}
|
||||
|
||||
if(status=='ON') {
|
||||
const rootElement = document.documentElement;
|
||||
rootElement.remove();
|
||||
|
||||
let target_interval = auto_reload_page_interval * 1000;
|
||||
setInterval(() => {
|
||||
//retry();
|
||||
|
|
|
@ -19,6 +19,8 @@ function begin()
|
|||
}
|
||||
|
||||
if(status=='ON') {
|
||||
const rootElement = document.documentElement;
|
||||
rootElement.remove();
|
||||
setInterval(() => {
|
||||
busyFor = 0;
|
||||
reload();
|
||||
|
|
|
@ -122,6 +122,8 @@ function ibon_area_main() {
|
|||
if(settings) {
|
||||
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
|
||||
}
|
||||
const rootElement = document.documentElement;
|
||||
rootElement.remove();
|
||||
if(auto_reload_page_interval == 0) {
|
||||
//console.log('Start to reload now.');
|
||||
location.reload();
|
||||
|
|
|
@ -84,6 +84,8 @@ function ibon_detail_ajax_done(game_info)
|
|||
if(settings) {
|
||||
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
|
||||
}
|
||||
const rootElement = document.documentElement;
|
||||
rootElement.remove();
|
||||
if(auto_reload_page_interval == 0) {
|
||||
//console.log('Start to reload now.');
|
||||
location.reload();
|
||||
|
|
|
@ -95,7 +95,6 @@ function kktix_ajax_return_register_info(register_info)
|
|||
}
|
||||
const rootElement = document.documentElement;
|
||||
rootElement.remove();
|
||||
delete window;
|
||||
if(auto_reload_page_interval == 0) {
|
||||
//console.log('Start to reload now.');
|
||||
location.reload();
|
||||
|
|
|
@ -28,6 +28,8 @@ function ajax_return_done(data, real_event_id, real_session_id) {
|
|||
if(settings) {
|
||||
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
|
||||
}
|
||||
const rootElement = document.documentElement;
|
||||
rootElement.remove();
|
||||
if(auto_reload_page_interval == 0) {
|
||||
//console.log('Start to reload now.');
|
||||
location.reload();
|
||||
|
|
|
@ -124,6 +124,8 @@ function area_auto_reload()
|
|||
if(settings) {
|
||||
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
|
||||
}
|
||||
const rootElement = document.documentElement;
|
||||
rootElement.remove();
|
||||
if(auto_reload_page_interval == 0) {
|
||||
//console.log('Start to reload now.');
|
||||
location.reload();
|
||||
|
|
|
@ -122,6 +122,8 @@ function date_auto_reload()
|
|||
if(settings) {
|
||||
auto_reload_page_interval = settings.advanced.auto_reload_page_interval;
|
||||
}
|
||||
const rootElement = document.documentElement;
|
||||
rootElement.remove();
|
||||
if(auto_reload_page_interval == 0) {
|
||||
//console.log('Start to reload now.');
|
||||
location.reload();
|
||||
|
|
Loading…
Reference in New Issue