summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
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;