From bdda5e42a0334cd2152b1d77a48f3ae5103f29de Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Wed, 24 Apr 2013 12:35:52 +0000 Subject: [PATCH] use sensors shmcache --- raspberry-kiosk/kiosk.html | 6 +++--- raspberry-kiosk/kiosk.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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); -- 1.7.10.4