mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:55:55 +00:00
MSIE5 compatibility workarounds (2)
This commit is contained in:
15
prefs.js
15
prefs.js
@@ -275,7 +275,20 @@ function localPiggieFunction(enable) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
|
|
||||||
|
// IE kludge
|
||||||
|
|
||||||
|
if (xmlhttp && !xmlhttp_rpc) {
|
||||||
|
xmlhttp_rpc = xmlhttp;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!xmlhttp || !xmlhttp_rpc) {
|
||||||
|
document.getElementById("prefContent").innerHTML =
|
||||||
|
"<b>Fatal error:</b> This program needs XmlHttpRequest " +
|
||||||
|
"to function properly. Your browser doesn't seem to support it.";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
updateFeedList();
|
updateFeedList();
|
||||||
document.onkeydown = hotkey_handler;
|
document.onkeydown = hotkey_handler;
|
||||||
notify("");
|
notify("");
|
||||||
|
|||||||
Reference in New Issue
Block a user