From ec780f94fd7ba4dbc93c89cbe3d8b5bdbc269efb Mon Sep 17 00:00:00 2001 From: Mitchell Pomery <bob_george33@hotmail.com> Date: Wed, 3 Dec 2014 19:37:34 +0800 Subject: [PATCH] Archive now works nicer. Breaks on images that aren't 640x480 --- www/archive.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/archive.js b/www/archive.js index f78181d..f012c49 100644 --- a/www/archive.js +++ b/www/archive.js @@ -255,7 +255,7 @@ function updateWebcam (webcamid, webcamurl) if (req.status == 200 || req.status == 304) { //img.parentNode.style.backgroundColor = "transparent"; - div.style.display = 'inline'; + div.style.display = 'inline-block'; //setAlt (img, ""); } else @@ -330,4 +330,4 @@ function setDays(days) function clearText() { document.getElementById("timeremaining").firstChild.data = ""; -} \ No newline at end of file +} -- GitLab