mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-27 11:09:20 +03:00
Underscore.js _.delay() to native setTimeout()
This commit is contained in:
parent
a82575a830
commit
43c92a82e6
29 changed files with 67 additions and 82 deletions
|
|
@ -856,7 +856,7 @@ class MessageModel extends AbstractModel {
|
|||
|
||||
if (lazy) {
|
||||
// $('.RL-MailMessageView .messageView .messageItem .content')[0]
|
||||
_.delay(() => this.lozad(), 300);
|
||||
setTimeout(() => this.lozad(), 300);
|
||||
}
|
||||
|
||||
windowResize(500);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue