mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +03:00
More scrict rules
This commit is contained in:
parent
71b6407d61
commit
fb2e492ce8
30 changed files with 126 additions and 89 deletions
|
|
@ -70,7 +70,7 @@ function MessageUserStore()
|
|||
return this.messageCurrentLoading();
|
||||
}, this);
|
||||
|
||||
this.messageLoadingThrottle = ko.observable(false).extend({'throttle': 50});
|
||||
this.messageLoadingThrottle = ko.observable(false).extend({'throttle': Enums.Magics.Time50ms});
|
||||
|
||||
this.messageFullScreenMode = ko.observable(false);
|
||||
|
||||
|
|
@ -82,7 +82,7 @@ function MessageUserStore()
|
|||
|
||||
this.onMessageResponse = _.bind(this.onMessageResponse, this);
|
||||
|
||||
this.purgeMessageBodyCacheThrottle = _.throttle(this.purgeMessageBodyCache, 1000 * 30);
|
||||
this.purgeMessageBodyCacheThrottle = _.throttle(this.purgeMessageBodyCache, Enums.Magics.Time30s);
|
||||
}
|
||||
|
||||
MessageUserStore.prototype.computers = function()
|
||||
|
|
@ -174,7 +174,7 @@ MessageUserStore.prototype.subscribers = function()
|
|||
oItem.newForAnimation(false);
|
||||
}
|
||||
});
|
||||
}, 500));
|
||||
}, Enums.Magics.Time500ms));
|
||||
|
||||
this.message.subscribe(function(oMessage) {
|
||||
|
||||
|
|
@ -240,7 +240,7 @@ MessageUserStore.prototype.purgeMessageBodyCache = function()
|
|||
{
|
||||
_.delay(function() {
|
||||
oMessagesDom.find('.rl-cache-purge').remove();
|
||||
}, 300);
|
||||
}, Enums.Magics.Time350ms);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -393,7 +393,7 @@ MessageUserStore.prototype.removeMessagesFromList = function(
|
|||
_.each(aMessages, function(item) {
|
||||
self.messageList.remove(item);
|
||||
});
|
||||
}, 400);
|
||||
}, Enums.Magics.Time350ms);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue