Skip to content

Commit

Permalink
fix: autofocus editor input
Browse files Browse the repository at this point in the history
  • Loading branch information
pxeemo committed Nov 22, 2024
1 parent 9a604f8 commit 0eb1b47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ parseBtn.addEventListener('click', () => {
editItemModal.classList.remove("hidden")
editItemModal.classList.add("fixed")
editItemIndex.value = itemsList.indexOf(e.currentTarget.parentNode)
editItemInput.focus()
})

timestamp.classList.add("w-18", "items-center", "text-center", "text-xs")
Expand Down

0 comments on commit 0eb1b47

Please sign in to comment.