$.proxy is deprecated

$.trim is deprecated
This commit is contained in:
djmaze 2020-08-06 18:24:46 +02:00
parent ae1b7610fd
commit bbd9f49dcd
39 changed files with 153 additions and 173 deletions

View file

@ -2,7 +2,7 @@ import ko from 'ko';
import $ from '$';
import { i18n } from 'Common/Translator';
import { log, isNonEmptyArray, pString, trim } from 'Common/Utils';
import { log, isNonEmptyArray, pString } from 'Common/Utils';
import AccountStore from 'Stores/User/Account';
@ -232,7 +232,7 @@ class PgpUserStore {
}
if (undefined !== text) {
dom.text(trim(text));
dom.text(text.trim());
}
}