mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 15:22:26 +01:00
pass keys to the HTMLSelectElement
This commit is contained in:
@@ -925,8 +925,10 @@ liberator.Events = function () //{{{
|
||||
// dump("=+++++++++=\n" + liberator.util.objectToString(event.target) + "\n")
|
||||
// dump (elem + ": " + win + "\n");//" - target: " + event.target + " - origtarget: " + event.originalTarget + " - expltarget: " + event.explicitOriginalTarget + "\n");
|
||||
|
||||
if (elem && elem instanceof HTMLInputElement &&
|
||||
(elem.type.toLowerCase() == "text" || elem.type.toLowerCase() == "password"))
|
||||
if (elem && (
|
||||
(elem instanceof HTMLInputElement && (elem.type.toLowerCase() == "text" || elem.type.toLowerCase() == "password")) ||
|
||||
(elem instanceof HTMLSelectElement)
|
||||
))
|
||||
{
|
||||
this.wantsModeReset = false;
|
||||
liberator.mode = liberator.modes.INSERT;
|
||||
|
||||
Reference in New Issue
Block a user