From e5cbb49f5e0c7a1e0f431a5f31dd13863cadc0f9 Mon Sep 17 00:00:00 2001 From: anekos Date: Mon, 27 Jun 2011 23:37:22 +0900 Subject: 値は関係ないっぽい --- walk-input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'walk-input.js') 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)) { -- cgit v1.2.3