pass function, don't call it
This commit is contained in:
parent
e37281491e
commit
a96097b8bf
1 changed files with 2 additions and 2 deletions
|
@ -458,7 +458,7 @@ pandora.ui.mediaView = function(options) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).on({
|
}).on({
|
||||||
keyup: updateForm()
|
keyup: updateForm
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -674,7 +674,7 @@ pandora.ui.mediaView = function(options) {
|
||||||
disabled: true,
|
disabled: true,
|
||||||
value: true
|
value: true
|
||||||
});
|
});
|
||||||
} else if (self.$switch) {
|
} else {
|
||||||
self.$switch.options({
|
self.$switch.options({
|
||||||
disabled: false,
|
disabled: false,
|
||||||
value: self.wasChecked
|
value: self.wasChecked
|
||||||
|
|
Loading…
Reference in a new issue