From 869ec9334d8532fe4e8851368b462db59a1758d7 Mon Sep 17 00:00:00 2001 From: brofar Date: Tue, 13 Feb 2024 09:53:28 -0700 Subject: [PATCH] wavesmode on by default --- js/calculate.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/calculate.js b/js/calculate.js index c78af89..8b0f59f 100644 --- a/js/calculate.js +++ b/js/calculate.js @@ -100,13 +100,13 @@ function UpdateIndex(pat) { `; } else { - if (wavesMode.checked) { - limitClass = refreshClass = "hide"; - wavesClass = ""; - } else { + if (!wavesMode.checked) { limitClass = limitMode.checked ? "" : "sup"; refreshClass = limitMode.checked ? "sub" : ""; wavesClass = "hide"; + } else { + limitClass = refreshClass = "hide"; + wavesClass = ""; } row.manip_1 = row.manip_1.replace(bold, '$1'); row.manip_2 = row.manip_2.replace(bold, '$1');