tot - Check-in [27]
Not logged in
[Browse]  [Home]  [Login]  [Reports]  [Search]  [Timeline
  [Patchset
Check-in Number: 27
Date: 2007-Apr-12 18:37:29 (local)
2007-Apr-12 16:37:29 (UTC)
User:rse
Branch:
Comment: remove Safari hack until we know the correct solution for Safari
Tickets:
Inspections:
Files:
jquery/jquery.xsajax.js      26 -> 27
Modified: jquery/jquery.xsajax.js
===================================================================
--- jquery/jquery.xsajax.js	2007-04-12 13:13:25 UTC (rev 26)
+++ jquery/jquery.xsajax.js	2007-04-12 16:37:29 UTC (rev 27)
@@ -67,17 +67,6 @@
                             callback.call(this);
                     };
                 }
-                else if ($.browser.safari) {
-                    /* Apple Safari requires polling */
-                    $.safariTimer = setInterval(function () {
-                        if (   node.get(0).readyState == "complete"
-                            || node.get(0).readyState == "loaded"  ) {
-                            clearInterval($.safariTimer);
-                            $.safariTimer = null;
-                            callback.call(node.get(0));
-                        }
-                    }, 100);
-                }
                 else {
                     /* use regular "onload" event for all other browsers */
                     $(node).load(callback);