commit ee0735a959cbb88672770c74aae9a1c013cd6442
parent 6b415e9530c2533438f2600e8f480b5c65eeb96c
Author: Hunter
Date:   Wed,  7 Aug 2024 23:33:29 -0400

disable autofill (fix root tasks overwrite bug)

Diffstat:
Mindex.html | 5+++--
Mreadme.md | 4++--
2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/index.html b/index.html @@ -92,7 +92,7 @@ } .shake { - animation: shake 0.3s ease-in-out; + animation: shake 0.25s ease-out; } body { @@ -325,6 +325,7 @@ const taskInput = document.createElement('input'); taskInput.type = 'text'; taskInput.value = task.text; + taskInput.setAttribute('autocomplete', 'off'); taskInput.addEventListener('mousedown', function(e) { e.stopPropagation(); @@ -481,7 +482,7 @@ checkbox.classList.add('shake'); setTimeout(() => { checkbox.classList.remove('shake'); - }, 300); // Remove class after animation completes + }, 250); // Remove class after animation completes } } } else { diff --git a/readme.md b/readme.md @@ -41,9 +41,9 @@ a nested task manager that breaks complex tasks into manageable subtasks. - `Command/Ctrl + Shift + Z` redo text edit ## themes -Press `F2` to cycle through available themes. +press `F2` to cycle through available themes. -To create a new theme, add a CSS rule set with the following form to the `<style>` tag in index.html: +to create a new theme, add a CSS rule set with the following form to index.html: ```css :root[data-theme="sunflower"] {