1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 04:27:59 +01:00

Fix command-line focus issue on Gecko 1.9.1. Closes issue #133.

--HG--
extra : rebase_source : f7f6caab056b802628c637774fb7e45c89b82b4b
This commit is contained in:
Kris Maglione
2010-11-12 14:24:41 -05:00
parent edbce58a59
commit 733e3a1bd3

View File

@@ -49,10 +49,10 @@ const CommandWidgets = Class("CommandWidgets", {
} }
catch (e) {} catch (e) {}
} }
if (elem.collapsed) if (!elem.collapsed)
elem.focus(); elem.focus();
}, },
onVisibility: function (elem, visible) visible && elem.focus() onVisibility: function (elem, visible) { visible && elem.focus() }
}); });
this.addElement({ this.addElement({
name: "prompt", name: "prompt",