From: Bernhard Tittelbach Date: Wed, 24 Apr 2013 12:35:52 +0000 (+0000) Subject: use sensors shmcache X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=bdda5e42a0334cd2152b1d77a48f3ae5103f29de;p=svn42.git use sensors shmcache --- diff --git a/raspberry-kiosk/kiosk.html b/raspberry-kiosk/kiosk.html index 3c535c1..ed526b6 100644 --- a/raspberry-kiosk/kiosk.html +++ b/raspberry-kiosk/kiosk.html @@ -30,13 +30,13 @@
- +
- +
- +
diff --git a/raspberry-kiosk/kiosk.js b/raspberry-kiosk/kiosk.js index 29f7ba8..7315033 100644 --- a/raspberry-kiosk/kiosk.js +++ b/raspberry-kiosk/kiosk.js @@ -225,7 +225,7 @@ function reloadImg(element) { img_orig_src[element.id] = element.src; } - new_image.src = img_orig_src[element.id] + "&dt="+Math.floor(new Date().getTime() / 1000).toString(); + new_image.src = img_orig_src[element.id] + "?dt="+Math.floor(new Date().getTime() / 1000).toString(); if (IsImageOk(new_image)) { element.parentNode.insertBefore(new_image,element);