From aaef84138523d6662770d3c14947d71b083de95d Mon Sep 17 00:00:00 2001 From: hackademix Date: Mon, 7 Aug 2023 12:00:20 +0200 Subject: [PATCH] Fixed operators precedence issue #312 (thanks Alex). --- src/ui/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/ui.js b/src/ui/ui.js index 8b940fb..2e5b5b3 100644 --- a/src/ui/ui.js +++ b/src/ui/ui.js @@ -1043,7 +1043,7 @@ var UI = (() => { break; case preset.tempTwin: presetName = `T_${p}`; - if (!presetName in UI.presets) { + if (!(presetName in UI.presets)) { presetName = p; } break;