mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-03 10:58:50 +03:00
Remove some unused Knockout code
This commit is contained in:
parent
6a715da1ac
commit
81ccee1152
5 changed files with 89 additions and 106 deletions
|
|
@ -48,8 +48,8 @@ ko.bindingHandlers['checked'] = {
|
|||
// currently checked, replace the old elem value with the new elem value
|
||||
// in the model array.
|
||||
if (isChecked) {
|
||||
writableValue.push(elemValue);
|
||||
writableValue.remove(saveOldValue);
|
||||
writableValue.push(elemValue);
|
||||
writableValue.remove(saveOldValue);
|
||||
}
|
||||
} else {
|
||||
// When we're responding to the user having checked/unchecked a checkbox,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue