mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-27 18:42:28 +01:00
Closes issue #644.
This commit is contained in:
@@ -361,7 +361,10 @@ var DOM = Class("DOM", {
|
||||
|
||||
get isEditable() !!this.editor,
|
||||
|
||||
get isInput() this[0] instanceof Ci.nsIDOMHTMLInputElement && this.isEditable,
|
||||
get isInput() isinstance(this[0], [Ci.nsIDOMHTMLInputElement,
|
||||
Ci.nsIDOMHTMLTextAreaElement,
|
||||
Ci.nsIDOMXULTextBoxElement])
|
||||
&& this.isEditable,
|
||||
|
||||
/**
|
||||
* Returns an object representing a Node's computed CSS style.
|
||||
|
||||
Reference in New Issue
Block a user