aboutsummaryrefslogtreecommitdiffstats
path: root/walk-input.js
diff options
context:
space:
mode:
Diffstat (limited to 'walk-input.js')
-rw-r--r--walk-input.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/walk-input.js b/walk-input.js
index be214aa..7e61663 100644
--- a/walk-input.js
+++ b/walk-input.js
@@ -82,7 +82,7 @@ var types = [
"tel",
"color",
].map(function(type) "@type=" + type.quote()).join(" or ");
-var xpath = '//input[(' + types + ' or not(@type)) and not(@disabled="disabled")] | //textarea';
+var xpath = '//input[(' + types + ' or not(@type)) and not(@disabled)] | //textarea';
function isVisible (elem) {
while (elem && !(elem instanceof HTMLDocument)) {