From 0ef98af108caa3e3ff9bd2c8aa425c2363791eb5 Mon Sep 17 00:00:00 2001 From: javl Date: Fri, 5 May 2023 20:34:00 +0200 Subject: [PATCH] uncheck removeZeroesCommad on changing output type --- js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/script.js b/js/script.js index 179c71d..5db03d7 100644 --- a/js/script.js +++ b/js/script.js @@ -23,7 +23,6 @@ const settings = { rotation: 0, }; -let outputString = ''; let allSameSizeButton; function bitswap(b) { @@ -1097,6 +1096,7 @@ function updateOutputFormat(elm) { arduino.style.display = 'block'; removeZeroesCommasContainer.style.display = 'none'; settings.removeZeroesCommas = false; + document.getElementById('removeZeroesCommas').checked = false; } else { arduino.style.display = 'none'; removeZeroesCommasContainer.style.display = 'table-row';