mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Reduce JavaScript footprint
This commit is contained in:
parent
689126c57d
commit
b12852bd08
42 changed files with 240 additions and 426 deletions
|
|
@ -57,11 +57,7 @@ computedPaginatorHelper = (koCurrentPage, koPageCount) => {
|
|||
value: index.toString()
|
||||
};
|
||||
|
||||
if (push) {
|
||||
result.push(data);
|
||||
} else {
|
||||
result.unshift(data);
|
||||
}
|
||||
push ? result.push(data) : result.unshift(data);
|
||||
};
|
||||
|
||||
let prev = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue