These should be function calls

This commit is contained in:
Cohee
2024-09-05 20:07:37 +03:00
parent ac0c33eb76
commit dec85c42f7
2 changed files with 3 additions and 3 deletions

View File

@ -99,7 +99,7 @@ export async function loadInstructMode(data) {
}
$element.on('input', async function () {
power_user.instruct[control.property] = control.isCheckbox ? !!$(this).prop('checked') : $(this).val;
power_user.instruct[control.property] = control.isCheckbox ? !!$(this).prop('checked') : $(this).val();
if (!CSS.supports('field-sizing', 'content')) {
await resetScrollHeight($(this));
}