mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Cleanup KnockoutJS
This commit is contained in:
parent
4c7ce61bc0
commit
4142526ba6
9 changed files with 121 additions and 279 deletions
|
|
@ -20,7 +20,7 @@ ko.bindingHandlers['textInput'] = {
|
|||
var updateView = () => {
|
||||
var modelValue = ko.utils.unwrapObservable(valueAccessor());
|
||||
|
||||
if (modelValue === null || modelValue === undefined) {
|
||||
if (modelValue == null) {
|
||||
modelValue = '';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue