mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 06:57:03 +03:00
Reduce JavaScript footprint
This commit is contained in:
parent
689126c57d
commit
b12852bd08
42 changed files with 240 additions and 426 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { pString, pInt } from 'Common/Utils';
|
||||
import { pInt } from 'Common/Utils';
|
||||
import { Settings } from 'Common/Globals';
|
||||
|
||||
const
|
||||
|
|
@ -125,10 +125,7 @@ export const
|
|||
result.push('p' + page);
|
||||
}
|
||||
|
||||
search = pString(search);
|
||||
if (search) {
|
||||
result.push(encodeURI(search));
|
||||
}
|
||||
search && result.push(encodeURI(search));
|
||||
|
||||
return result.join('/');
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue