From 569720c589e979cdbc0102f6d45dcecf1af1ea59 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 20 May 2008 10:58:03 +0100 Subject: [PATCH] misc code cleanup --- functions.js | 14 +++----------- prefs.php | 2 +- tt-rss.css | 1 - tt-rss.php | 2 +- 4 files changed, 5 insertions(+), 14 deletions(-) diff --git a/functions.js b/functions.js index 99d267f9..79068c0f 100644 --- a/functions.js +++ b/functions.js @@ -1159,12 +1159,7 @@ function leading_zero(p) { function closeInfoBox(cleanup) { - if (!is_msie() && !getInitParam("infobox_disable_overlay")) { - var overlay = document.getElementById("dialog_overlay"); - if (overlay) { - overlay.style.display = "none"; - } - } + Element.hide("dialog_overlay"); var box = document.getElementById('infoBox'); var shadow = document.getElementById('infoBoxShadow'); @@ -1220,11 +1215,8 @@ function infobox_callback2(transport) { debug("infobox_callback2"); - if (!is_msie() && !getInitParam("infobox_disable_overlay")) { - var overlay = document.getElementById("dialog_overlay"); - if (overlay) { - overlay.style.display = "block"; - } + if (!getInitParam("infobox_disable_overlay")) { + Element.show("dialog_overlay"); } var box = document.getElementById('infoBox'); diff --git a/prefs.php b/prefs.php index 8a483d70..76da0604 100644 --- a/prefs.php +++ b/prefs.php @@ -168,7 +168,7 @@ window.onload = init;
 
BAH
-
+
diff --git a/tt-rss.css b/tt-rss.css index 346c4efa..49dfc827 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -1229,7 +1229,6 @@ a.cdmToggleLink:hover { width : 100%; z-index : 2; position : absolute; - display : none; background-image : url("images/shadow_white.png"); } diff --git a/tt-rss.php b/tt-rss.php index 3b6dcada..8fa81120 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -100,7 +100,7 @@
Unknown Error
-
+