aboutsummaryrefslogtreecommitdiffstats
path: root/view/main_slider.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/main_slider.tpl')
-rw-r--r--view/main_slider.tpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/view/main_slider.tpl b/view/main_slider.tpl
index 19d6fb15a..6f2b5f4a3 100644
--- a/view/main_slider.tpl
+++ b/view/main_slider.tpl
@@ -11,10 +11,12 @@
function networkRefresh() {
if((document.readyState !== "complete") || (slideTimer !== null))
return;
- slideTimer = setTimeout(networkTimerRefresh,5000);
+ slideTimer = setTimeout(networkTimerRefresh,2000);
}
function networkTimerRefresh() {
- window.location.href = buildCmd();
+ slideTimer = null;
+ page_load = true;
+ liveUpdate();
}
</script>