| 1767 | | 1767 | |
| 1768 | // If the setting already exists, no need to duplicate it | 1768 | // If the setting already exists, no need to duplicate it |
| 1769 | // TODO: Maybe check the power_user object for the setting instead of a flag? | 1769 | // TODO: Maybe check the power_user object for the setting instead of a flag? |
| 1770 | $element.on('input keyUp', async function () { | 1770 | $element.on('input keyup', async function () { |
| 1771 | const value = control.isCheckbox ? !!$(this).prop('checked') : $(this)[0].innerText; | 1771 | const value = control.isCheckbox ? !!$(this).prop('checked') : $(this)[0].innerText; |
| 1772 | if (control.isGlobalSetting) { | 1772 | if (control.isGlobalSetting) { |
| 1773 | power_user[control.property] = value; | 1773 | power_user[control.property] = value; |