aboutsummaryrefslogtreecommitdiffstats
path: root/chrome-get-urls-from-tabs-in-windows.js
diff options
context:
space:
mode:
authorTeddy Wing2014-03-30 18:35:28 -0400
committerTeddy Wing2014-03-30 18:37:11 -0400
commitd239f03dcef8afe7f727b758e7c55c2f99c9c6a7 (patch)
tree872d8083f3fdd451c1f10a71b42c918e0e1ed31a /chrome-get-urls-from-tabs-in-windows.js
parent703d26ae56ed76f22695b5133ce7b4c2576f0461 (diff)
downloadchrome-copy-urls-from-all-tabs-d239f03dcef8afe7f727b758e7c55c2f99c9c6a7.tar.bz2
Page: move download link to top
Move the download link to the top of the page and style it.
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);
});
};