mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Get rid of i18nInit and improve i18nUpdate
This commit is contained in:
parent
5b3dfc26de
commit
48974d1b5a
6 changed files with 38 additions and 43 deletions
4
dev/External/ko.js
vendored
4
dev/External/ko.js
vendored
|
|
@ -80,10 +80,6 @@ Object.assign(ko.bindingHandlers, {
|
|||
}
|
||||
},
|
||||
|
||||
i18nInit: {
|
||||
init: element => i18nToNodes(element)
|
||||
},
|
||||
|
||||
i18nUpdate: {
|
||||
update: (element, fValueAccessor) => {
|
||||
ko.unwrap(fValueAccessor());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue