summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-08-25 16:15:27 +0100
committerAndrew Dolgov <[email protected]>2005-08-25 16:15:27 +0100
commitc0e5a40e7307d06eb9926d2645899e9699be54bc (patch)
treef3bd04c01916755a7a7b39c02a7442b182098aa1 /functions.js
parent36bf74967c6a6a310a03f2fe30299c8f6bc34124 (diff)
MSIE5 compatibility workarounds
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/functions.js b/functions.js
index f33b3970d..d7f0ec750 100644
--- a/functions.js
+++ b/functions.js
@@ -8,6 +8,11 @@ function enableHotkeys() {
hotkeys_enabled = true;
}
+function xmlhttp_ready(obj) {
+ return obj.readyState == 4 || obj.readyState == 0 || !obj.readyState;
+}
+
+
function notify_callback() {
var container = document.getElementById('notify');
if (xmlhttp.readyState == 4) {