From: Andrew Dolgov Date: Tue, 20 May 2008 10:39:48 +0000 (+0100) Subject: msie-related code cleanup X-Git-Tag: 1.2.23-final~17 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f74cfded6f2159e593e0c02968ca1db7a93841a0;p=tt-rss.git msie-related code cleanup --- diff --git a/functions.js b/functions.js index 79068c0f..a5c689b1 100644 --- a/functions.js +++ b/functions.js @@ -11,10 +11,6 @@ Array.prototype.remove = function(s) { } } -function is_msie() { - return navigator.userAgent.match("MSIE"); -} - function is_opera() { return window.opera; } @@ -28,7 +24,9 @@ function exception_error(location, e, silent) { msg = "Exception: " + e.name + ", " + e.message + "\nFunction: " + location + "()" + "\nLocation: " + base_fname + ":" + e.lineNumber; - + + } else if (e.description) { + msg = "Exception: " + e.description + "\nFunction: " + location + "()"; } else { msg = "Exception: " + e + "\nFunction: " + location + "()"; } @@ -534,7 +532,7 @@ function parse_counters(reply, scheduled_call) { } } - if (has_img && feed_img && !is_msie()) { + if (has_img && feed_img) { if (!feed_img.src.match(id + ".ico")) { feed_img.src = getInitParam("icons_location") + "/" + id + ".ico"; } diff --git a/ie6.css b/ie6.css deleted file mode 100644 index 0a1aa43a..00000000 --- a/ie6.css +++ /dev/null @@ -1,21 +0,0 @@ -#infoBoxTitle { - display : none; -} - -#headlinesContainer { - width: expression(((parseInt(document.getElementById("headlines-frame").clientWidth)-2)+'px')); -} - -#headlinesInnerContainer { - position : normal; -} - -div.headlines_normal { - overflow : auto; -} - -div.headlines_cdm { - overflow : auto; -} - - diff --git a/ie7.css b/ie7.css deleted file mode 100644 index 96fd6f49..00000000 --- a/ie7.css +++ /dev/null @@ -1,8 +0,0 @@ -/* div.prefsTabSelected { - bottom : 1px; -} */ - -table.headlinesList { - width: expression(((parseInt(document.getElementById("headlinesInnerContainer").clientWidth)-0)+'px')); -} - diff --git a/prefs.php b/prefs.php index 76da0604..b75a8b05 100644 --- a/prefs.php +++ b/prefs.php @@ -46,15 +46,6 @@ - - - -