From: Andrew Dolgov Date: Tue, 20 May 2008 09:58:03 +0000 (+0100) Subject: misc code cleanup X-Git-Tag: 1.2.23-final~18 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=569720c589e979cdbc0102f6d45dcecf1af1ea59;p=tt-rss.git misc code cleanup --- 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
-
+