summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-05-20 14:01:11 +0100
committerAndrew Dolgov <[email protected]>2006-05-20 14:01:11 +0100
commita58069db8ad73d2935614d9a2c2fadc19a4260f1 (patch)
tree9905d39e106fce6d6b21e0ba6ab4462161617382 /tt-rss.js
parent0666e120e8915920070dc18273cd67787484f103 (diff)
use Ajax.getTransport to create our xmlhttp objects
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js19
1 files changed, 1 insertions, 18 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 6a3171469..99afd7d6e 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -11,24 +11,7 @@ var firsttime_update = true;
var last_refetch = 0;
var cookie_lifetime = 0;
-/*@cc_on @*/
-/*@if (@_jscript_version >= 5)
-// JScript gives us Conditional compilation, we can cope with old IE versions.
-// and security blocked creation of the objects.
-try {
- xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
-} catch (e) {
- try {
- xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
- } catch (E) {
- xmlhttp = false;
- }
-}
-@end @*/
-
-if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
- xmlhttp = new XMLHttpRequest();
-}
+var xmlhttp = Ajax.getTransport();
function toggleTags() {
display_tags = !display_tags;