place cursor at beginning when scrolling up/down Hunter Monday, August 5th, 2024 at 12:12 AM
| index.html | +1 | -1 |
632 if (currentIndex > 0) { 633 const prevTask = currentIndex === 1 ? currentTask : tasks[currentIndex - 2]; 634 selectAndFocusTask(prevTask); - placeCursorAtBeginning(currentElement); 635 } 636 } else { 637 if (currentIndex < tasks.length) { 638 selectAndFocusTask(tasks[currentIndex]); 639 } 640 } 641 + placeCursorAtBeginning(currentElement); 642 lastSubtaskDownArrowReleased = false; 643 } 644