diff --git a/src/gui/options/options.js b/src/gui/options/options.js index e5b2392645e7a4cbf0b80e469768afc8c2c48a00..882c1b3440c9f5e38bc86753a0a85a662238b3e3 100644 --- a/src/gui/options/options.js +++ b/src/gui/options/options.js @@ -277,7 +277,7 @@ App.UI.OptionsGroup = (function() { } else { this.object[this.property] = Number(O.value); } - const originalObj = this.valuePairs.find(obj => obj.value == O.value); + const originalObj = this.valuePairs.find(obj => obj.name === O.textContent); if (originalObj && originalObj.hasOwnProperty("callback")) { originalObj.callback(); }