Bugfix: selecting text now also [un]completes grub
This commit is contained in:
parent
f4eaf7cef9
commit
e14fb90e0f
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@
|
||||||
(a/filter #(= (.-keyIdentifier %) "Enter"))))
|
(a/filter #(= (.-keyIdentifier %) "Enter"))))
|
||||||
|
|
||||||
(defn parse-completed-event [event]
|
(defn parse-completed-event [event]
|
||||||
(let [target (.-target event)
|
(let [target (.-selectedTarget event)
|
||||||
id (.-id target)
|
id (.-id target)
|
||||||
completed (dommy/has-class? target "completed")
|
completed (dommy/has-class? target "completed")
|
||||||
event-type (if completed :uncomplete :complete)]
|
event-type (if completed :uncomplete :complete)]
|
||||||
|
|
Loading…
Reference in a new issue