summaryrefslogtreecommitdiff
path: root/slideshows/advanced/template/events.js
diff options
context:
space:
mode:
authorBenjamin Kiessling <mittagessen@l.unchti.me>2012-03-02 21:55:49 +0100
committerBenjamin Kiessling <mittagessen@l.unchti.me>2012-03-02 21:55:49 +0100
commitd45d56dfebe29b55ee1ee00b2f31e371134bc8a5 (patch)
tree6883762005bf02fb63b9e8c4e1f1bb72fafe8163 /slideshows/advanced/template/events.js
parent9e24efbeb0b82f09b74ff979f6714f6636d0d606 (diff)
Enable auto reloading
Diffstat (limited to 'slideshows/advanced/template/events.js')
-rw-r--r--slideshows/advanced/template/events.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/slideshows/advanced/template/events.js b/slideshows/advanced/template/events.js
index e01df1c..82095f4 100644
--- a/slideshows/advanced/template/events.js
+++ b/slideshows/advanced/template/events.js
@@ -26,8 +26,13 @@ $(document).ready(function(){
$('.eventEl').click(function() {
showWindow($(this));
})
+ setTimeout("reloadPage()", 21600000);
});
+function reloadPage() {
+ location.reload();
+};
+
function showWindow(data) {
var title = $('.summary',data).text();