Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

hints-ext: area tag を含めるように追加

  • Loading branch information...
commit 02637f71d78fd37f8a2ad232810bf0f3a2c1015b 1 parent bd8d8e4
@caisui authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 plugin/hints-ext.js
View
5 plugin/hints-ext.js
@@ -228,6 +228,11 @@ _generate: function _generate(win, screen) {
if (item.nodeType == Node.ELEMENT_NODE)
b[k++] = item;
}
+
+ //xxx: HTMLAreaElement が 含まれないため
+ let c = Array.slice(doc.getElementsByTagName("area"));
+ if (c.length > 0) Array.splice.apply(null, [b, b.length, 0].concat(c));
+
b.sort(function (a, b) a.compareDocumentPosition(b) & 0x2);
nodeList = b;
}
Please sign in to comment.
Something went wrong with that request. Please try again.