From d59d7e6c8d9523f7ed752de5f50d3f81e2ff447a Mon Sep 17 00:00:00 2001 From: Cohee Date: Fri, 4 Aug 2023 18:15:42 +0300 Subject: [PATCH] Fix boolean conversion --- public/scripts/power-user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js index b4937d58a..d9e1b500a 100644 --- a/public/scripts/power-user.js +++ b/public/scripts/power-user.js @@ -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(); });