Optimize initial requests
This commit is contained in:
1 parent
067d6e8514
commit
2f5cb81029
5 files changed
+27
-31
No files matched your search
@@ -5,7 +5,7 @@ var UpdaterBase = new Class({
|
||||
initialize: function(){
|
||||
var self = this;
|
||||
|
||||
App.addEvent('load', self.info.bind(self, 1000))
|
||||
App.addEvent('load', self.info.bind(self, 2000))
|
||||
App.addEvent('unload', function(){
|
||||
if(self.timer)
|
||||
clearTimeout(self.timer);
|
||||
|
||||
Reference in new issue
Block a user