From 176e72c4656ec91b5ccdf12f1df537fac2cd7285 Mon Sep 17 00:00:00 2001 From: adrien Date: Wed, 5 Apr 2023 21:54:42 +0200 Subject: [PATCH] small changes --- css/style.css | 6 +++++- js/sudoku.js | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index 16f9b1c..60b5af2 100644 --- a/css/style.css +++ b/css/style.css @@ -87,10 +87,14 @@ tr:last-child td:last-child input { td { padding: 0 !important; margin: 0 !important; - transition: background-color .4s, box-shadow .4s !important; border: 0 !important; } +td, +table input { + transition: background-color .4s, box-shadow .4s !important; +} + .context-menu li { cursor: default; } diff --git a/js/sudoku.js b/js/sudoku.js index 3083765..7fa4262 100755 --- a/js/sudoku.js +++ b/js/sudoku.js @@ -56,7 +56,7 @@ window.onload = function() { } if (localStorage["sightCheckbox.checked"] == "true") sightCheckbox.checked = true - if (localStorage["highlighterCheckbox.checked"] == "true") highlighterCheckbox.checked = true + else if (localStorage["highlighterCheckbox.checked"] == "true") highlighterCheckbox.checked = true boxes.forEach(box => { box.neighbourhood = new Set(rows[box.rowId].concat(columns[box.columnId]).concat(regions[box.regionId]))