diff --git a/options/options.js b/options/options.js index 22529d9e..0cd168bf 100644 --- a/options/options.js +++ b/options/options.js @@ -76,7 +76,7 @@ async function init() { let numberInput = optionsElements[i].querySelector("input"); if (isNaN(configValue) || configValue < 0) { - numberInput.value = 0; + numberInput.value = SB.defaults[numberChangeOption]; } else { numberInput.value = configValue; } @@ -306,4 +306,4 @@ function activateTextChange(element) { }); element.querySelector(".option-hidden-section").classList.remove("hidden"); -} \ No newline at end of file +}