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({ }).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