From d45d56dfebe29b55ee1ee00b2f31e371134bc8a5 Mon Sep 17 00:00:00 2001 From: Benjamin Kiessling Date: Fri, 2 Mar 2012 21:55:49 +0100 Subject: Enable auto reloading --- slideshows/dark/template/events.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'slideshows/dark/template/events.js') diff --git a/slideshows/dark/template/events.js b/slideshows/dark/template/events.js index b0efe13..8c4a33e 100644 --- a/slideshows/dark/template/events.js +++ b/slideshows/dark/template/events.js @@ -28,8 +28,13 @@ $(document).ready(function(){ showWindow($(this)); }); + setTimeout("reloadPage()", 21600000); }); +function reloadPage() { + location.reload(); +}; + function showWindow(data) { var title = $('.summary',data).text(); -- cgit v1.2.1