Skip to content
Snippets Groups Projects
Commit 254f25d3 authored by svornost's avatar svornost
Browse files

Merge branch 'pregmod-master' of gitgud.io:pregmodfan/fc-pregmod into fixes

parents f357bc2d 278bcde6
No related branches found
No related tags found
No related merge requests found
......@@ -274,10 +274,10 @@ App.UI.OptionsGroup = (function() {
}
select.onchange = () => {
const O = select.options[select.selectedIndex];
if (Number(O.value)) {
option.object[option.property] = Number(O.value);
} else {
if (isNaN(Number(O.value))) {
option.object[option.property] = O.value;
} else {
option.object[option.property] = Number(O.value);
}
};
buttonGroup.append(select);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment