From a58069db8ad73d2935614d9a2c2fadc19a4260f1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 20 May 2006 14:01:11 +0100 Subject: use Ajax.getTransport to create our xmlhttp objects --- tt-rss.js | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'tt-rss.js') 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; -- cgit v1.2.3