pass function, don't call it

This commit is contained in:
j 2025-01-24 17:33:52 +05:30
parent e37281491e
commit a96097b8bf

View file

@ -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