From c0e5a40e7307d06eb9926d2645899e9699be54bc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 25 Aug 2005 16:15:27 +0100 Subject: MSIE5 compatibility workarounds --- functions.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'functions.js') 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) { -- cgit v1.2.3