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');