Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
Fiszh committed Oct 25, 2024
1 parent e142b01 commit b6a23f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,14 @@ function displaySettings() {
settingsDiv.append(textSetting);

const textInput = document.getElementById(`quantity-${i}`);
const param = setting.param;

if (userSettings[param] && userSettings[param] !== setting.value) {
textInput.value = String(userSettings[param])
}

if (textInput) {
textInput.addEventListener('input', function () {
const param = setting.param;

if (param === "font") {
const settingNameElement = textSetting.querySelector('.setting_name');
Expand Down

0 comments on commit b6a23f5

Please sign in to comment.