summaryrefslogtreecommitdiff
path: root/crocoite/data
diff options
context:
space:
mode:
Diffstat (limited to 'crocoite/data')
-rw-r--r--crocoite/data/extract-links.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/crocoite/data/extract-links.js b/crocoite/data/extract-links.js
index f3176da..5a4f9f0 100644
--- a/crocoite/data/extract-links.js
+++ b/crocoite/data/extract-links.js
@@ -27,7 +27,7 @@ function isClickable (o) {
let ret = [];
['a[href]', 'area[href]'].forEach (function (s) {
- let x = document.body.querySelectorAll(s);
+ let x = document.querySelectorAll(s);
for (let i=0; i < x.length; i++) {
if (isClickable (x[i])) {
ret.push (x[i].href);