1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

fix uninitialized xmlhttprequest object in feedlist.js

This commit is contained in:
Andrew Dolgov
2005-12-31 09:03:45 +01:00
parent 12db369ca7
commit fadfe7d9b4

View File

@@ -9,14 +9,17 @@ try {
} catch (e) {
try {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp_rpc = new ActiveXObject("Microsoft.XMLHTTP");
} catch (E) {
xmlhttp = false;
xmlhttp_rpc = false;
}
}
@end @*/
if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
xmlhttp = new XMLHttpRequest();
xmlhttp_rpc = new XMLHttpRequest();
}
function viewfeed(feed, skip, subop, doc) {