mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 13:14:13 +01:00
Closes issue #644.
This commit is contained in:
@@ -361,7 +361,10 @@ var DOM = Class("DOM", {
|
|||||||
|
|
||||||
get isEditable() !!this.editor,
|
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.
|
* Returns an object representing a Node's computed CSS style.
|
||||||
|
|||||||
Reference in New Issue
Block a user