mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 17:54:13 +01:00
Fix focus problem on Windows. Closes issue \#130.
Update issue #120 Merge: 130 Status: Duplicate --HG-- extra : rebase_source : 9785cf10ee35ce0a4937c477447197c4c10867ca
This commit is contained in:
@@ -693,7 +693,7 @@ const Events = Module("events", {
|
||||
&& isinstance(elem, [HTMLInputElement, HTMLSelectElement, HTMLTextAreaElement, Window]))
|
||||
if (elem.frameElement)
|
||||
dactyl.focusContent(true);
|
||||
else
|
||||
else if (!(elem instanceof Window) || Editor.getEditor(elem))
|
||||
elem.blur();
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user