Fix boolean conversion

This commit is contained in:
Cohee 2023-08-04 18:15:42 +03:00
parent 8b3f65073c
commit d59d7e6c8d
1 changed files with 1 additions and 1 deletions

View File

@ -1999,7 +1999,7 @@ $(document).ready(() => {
});
$("#custom_stopping_strings_macro").change(function () {
power_user.custom_stopping_strings_macro = $(this).prop("checked");
power_user.custom_stopping_strings_macro = !!$(this).prop("checked");
saveSettingsDebounced();
});