mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 16:37:02 +03:00
Bugfix: KnockoutJS failed to output text '0'
This commit is contained in:
parent
905315b164
commit
a0f7114a39
3 changed files with 4 additions and 4 deletions
|
|
@ -119,7 +119,7 @@ ko.utils = {
|
|||
unwrapObservable: value => ko.isObservable(value) ? value() : value,
|
||||
|
||||
setTextContent: (element, textContent) =>
|
||||
element.textContent = ko.utils.unwrapObservable(textContent) || ""
|
||||
element.textContent = ko.utils.unwrapObservable(textContent)
|
||||
};
|
||||
|
||||
ko.exportSymbol('utils', ko.utils);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue