mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-26 21:42:26 +01:00
Ignore disabled elements in gi.
This commit is contained in:
@@ -2290,7 +2290,7 @@ var Buffer = Module("Buffer", {
|
||||
|
||||
elem = DOM(elem);
|
||||
|
||||
if (elem[0].readOnly || !DOM(elem).isEditable)
|
||||
if (elem[0].readOnly || elem[0].disabled || !DOM(elem).isEditable)
|
||||
return false;
|
||||
|
||||
let style = elem.style;
|
||||
|
||||
Reference in New Issue
Block a user