mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 15:25:56 +00:00
msie-related code cleanup
This commit is contained in:
10
functions.js
10
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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user