diff options
author | Jagua | 2015-01-24 15:30:08 +0900 |
---|---|---|
committer | Jagua | 2015-01-24 15:30:08 +0900 |
commit | 64e8cacad92e2e55d16fe90e37832181cb49ec92 (patch) | |
tree | c3f00228df9c89be6a197279c7cc4a3836b58488 /walk-input.js | |
parent | b4cbb0c3d7b056057c55a313b1aaff0fc8e9e6de (diff) | |
parent | feb5a9da3fd9a50106a5fb5df76b6cd48bbb238a (diff) | |
download | vimperator-plugins-64e8cacad92e2e55d16fe90e37832181cb49ec92.tar.bz2 |
Merge pull request #74 from eagletmt/string-quote
String.prototype.quote() has been removed in Firefox 37
Diffstat (limited to 'walk-input.js')
-rw-r--r-- | walk-input.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/walk-input.js b/walk-input.js index ef3db1c..6c10a31 100644 --- a/walk-input.js +++ b/walk-input.js @@ -80,7 +80,7 @@ var types = [ "url", "tel", "color", -].map(function(type) "@type=" + type.quote()).join(" or "); +].map(function(type) "@type=" + JSON.stringify(type)).join(" or "); var xpath = '//input[(' + types + ' or not(@type)) and not(@disabled)] | //textarea | //*[@contenteditable="true"]'; function isVisible (elem) { |