mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 04:59:21 +03:00
$.proxy is deprecated
$.trim is deprecated
This commit is contained in:
parent
ae1b7610fd
commit
bbd9f49dcd
39 changed files with 153 additions and 173 deletions
|
|
@ -5,7 +5,6 @@ import $ from '$';
|
|||
import { Magics, Layout, Focused, MessageSetAction, StorageResultType, Notification } from 'Common/Enums';
|
||||
|
||||
import {
|
||||
trim,
|
||||
isNormal,
|
||||
pInt,
|
||||
pString,
|
||||
|
|
@ -135,7 +134,7 @@ class MessageUserStore {
|
|||
read: this.messageListSearch,
|
||||
write: (value) => {
|
||||
setHash(
|
||||
mailBox(FolderStore.currentFolderFullNameHash(), 1, trim(value.toString()), this.messageListThreadUid())
|
||||
mailBox(FolderStore.currentFolderFullNameHash(), 1, value.toString().trim(), this.messageListThreadUid())
|
||||
);
|
||||
}
|
||||
});
|
||||
|
|
@ -458,7 +457,7 @@ class MessageUserStore {
|
|||
h = getRealHeight($this);
|
||||
}
|
||||
|
||||
if (trim($this.text()) && (0 === h || 100 < h)) {
|
||||
if ($this.text().trim() && (0 === h || 100 < h)) {
|
||||
$this.addClass('rl-bq-switcher hidden-bq');
|
||||
$('<span class="rlBlockquoteSwitcher"><i class="icon-ellipsis" /></span>')
|
||||
.insertBefore($this)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue