Changeset 953 for branches


Ignore:
Timestamp:
01/27/08 23:50:32 (11 years ago)
Author:
ray
Message:
 
Location:
branches/0.95_stable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/0.95_stable/XinhaCore.js

    r951 r953  
    53795379   arguments.callee.done = true; 
    53805380   // kill the timer 
    5381    if (_timer) clearInterval(_timer); 
     5381   if (Xinha.onloadTimer) clearInterval(Xinha.onloadTimer); 
    53825382 
    53835383   func(); 
     
    53985398 else if (/applewebkit|KHTML/i.test(navigator.userAgent) ) /* Safari/WebKit/KHTML */ 
    53995399 { 
    5400    var _timer = scope.setInterval(function() 
     5400   Xinha.onloadTimer = scope.setInterval(function() 
    54015401   { 
    54025402     if (/loaded|complete/.test(scope.document.readyState)) 
  • branches/0.95_stable/XinhaLoader.js

    r943 r953  
    186186    arguments.callee.done = true; 
    187187    // kill the timer 
    188     if (_timer) clearInterval(_timer); 
     188    if (Xinha.onloadTimer) clearInterval(Xinha.onloadTimer); 
    189189     
    190190    func.call(); 
     
    204204  else if (/WebKit/i.test(navigator.userAgent)) 
    205205  { 
    206     var _timer = setInterval(function() 
     206    Xinha.onloadTimer = setInterval(function() 
    207207    { 
    208208      if (/loaded|complete/.test(document.readyState)) 
Note: See TracChangeset for help on using the changeset viewer.