aboutsummaryrefslogtreecommitdiffstats
path: root/chrome-get-urls-from-tabs-in-windows.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome-get-urls-from-tabs-in-windows.js')
-rw-r--r--chrome-get-urls-from-tabs-in-windows.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome-get-urls-from-tabs-in-windows.js b/chrome-get-urls-from-tabs-in-windows.js
index aefab19..46a9e8a 100644
--- a/chrome-get-urls-from-tabs-in-windows.js
+++ b/chrome-get-urls-from-tabs-in-windows.js
@@ -87,7 +87,7 @@ create_download_link = function(text) {
download_link.setAttribute('download', filename);
download_link.innerHTML = 'Download file';
- document.querySelector('body').appendChild(download_link);
+ document.getElementById('download-link').appendChild(download_link);
});
};