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({
|
||||
keyup: updateForm()
|
||||
keyup: updateForm
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -674,7 +674,7 @@ pandora.ui.mediaView = function(options) {
|
|||
disabled: true,
|
||||
value: true
|
||||
});
|
||||
} else if (self.$switch) {
|
||||
} else {
|
||||
self.$switch.options({
|
||||
disabled: false,
|
||||
value: self.wasChecked
|
||||
|
|
Loading…
Reference in a new issue