diff options
author | Andrew Dolgov <[email protected]> | 2006-05-20 14:01:11 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-05-20 14:01:11 +0100 |
commit | a58069db8ad73d2935614d9a2c2fadc19a4260f1 (patch) | |
tree | 9905d39e106fce6d6b21e0ba6ab4462161617382 /tt-rss.js | |
parent | 0666e120e8915920070dc18273cd67787484f103 (diff) |
use Ajax.getTransport to create our xmlhttp objects
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 19 |
1 files changed, 1 insertions, 18 deletions
@@ -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; |