mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 07:27:04 +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
2
vendors/knockout/src/utils.js
vendored
2
vendors/knockout/src/utils.js
vendored
|
|
@ -92,7 +92,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