1
0
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:
Kris Maglione
2010-11-09 08:22:33 -05:00
parent ab9b65a712
commit cc2dc276cd

View File

@@ -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();
},