mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-10-02 09:54:21 +08:00
KnockoutJS drop unused uniqueName
This commit is contained in:
parent
62bda28a28
commit
39ad99224e
1 changed files with 0 additions and 4 deletions
|
@ -78,10 +78,6 @@ ko.bindingHandlers['checked'] = {
|
||||||
useElementValue = isRadio || valueIsArray,
|
useElementValue = isRadio || valueIsArray,
|
||||||
oldElemValue = valueIsArray ? checkedValue() : undefined;
|
oldElemValue = valueIsArray ? checkedValue() : undefined;
|
||||||
|
|
||||||
// IE 6 won't allow radio buttons to be selected unless they have a name
|
|
||||||
if (isRadio && !element.name)
|
|
||||||
ko.bindingHandlers['uniqueName']['init'](element, function() { return true });
|
|
||||||
|
|
||||||
// Set up two computeds to update the binding:
|
// Set up two computeds to update the binding:
|
||||||
|
|
||||||
// The first responds to changes in the checkedValue value and to element clicks
|
// The first responds to changes in the checkedValue value and to element clicks
|
||||||
|
|
Loading…
Add table
Reference in a new issue