mirror of
https://github.com/heyman/heynote.git
synced 2025-06-28 05:21:48 +02:00
Set tab-index="-1" for todo checkboxes
Otherwise they will be focusable when opening the search panel and pressing tab to cycle between the fields
This commit is contained in:
parent
0de4710cf3
commit
813522cc0e
@ -20,6 +20,7 @@ class CheckboxWidget extends WidgetType {
|
||||
let box = document.createElement("input")
|
||||
box.type = "checkbox"
|
||||
box.checked = this.checked
|
||||
box.tabIndex = -1
|
||||
box.style.margin = "0"
|
||||
box.style.padding = "0"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user