mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Bugfix: Cannot write a value to a ko.computed unless you specify a 'write' option
This commit is contained in:
parent
e52316bb08
commit
ac2238a23f
4 changed files with 54 additions and 50 deletions
2
dev/External/ko.js
vendored
2
dev/External/ko.js
vendored
|
|
@ -7,7 +7,7 @@ ko.bindingHandlers.tooltipErrorTip = {
|
|||
init: (element, fValueAccessor) => {
|
||||
doc.addEventListener('click', () => {
|
||||
let value = fValueAccessor();
|
||||
ko.isObservable(value) && value('');
|
||||
ko.isObservable(value) && !ko.isComputed(value) && value('');
|
||||
element.removeAttribute('data-rainloopErrorTip');
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue