diff options
author | Andrew Dolgov <[email protected]> | 2005-08-25 16:15:27 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-08-25 16:15:27 +0100 |
commit | c0e5a40e7307d06eb9926d2645899e9699be54bc (patch) | |
tree | f3bd04c01916755a7a7b39c02a7442b182098aa1 /functions.js | |
parent | 36bf74967c6a6a310a03f2fe30299c8f6bc34124 (diff) |
MSIE5 compatibility workarounds
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 5 |
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) { |