projects
/
GM_direct_download_links.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjust z-index for the Direct Download link
[GM_direct_download_links.git]
/
direct_download_links.user.js
diff --git
a/direct_download_links.user.js
b/direct_download_links.user.js
index
8253247
..
89fa057
100644
(file)
--- a/
direct_download_links.user.js
+++ b/
direct_download_links.user.js
@@
-212,6
+212,7
@@
function _add_link(e) {
style += ' border: 2px solid red;'
style += ' float: right; font-size: large;';
style += ' padding: .5em; margin: 1em;'
style += ' border: 2px solid red;'
style += ' float: right; font-size: large;';
style += ' padding: .5em; margin: 1em;'
+ style += ' position: relative; z-index: 1000;'
download_link.setAttribute('style', style);
destination.insertBefore(download_link, destination.firstChild);
download_link.setAttribute('style', style);
destination.insertBefore(download_link, destination.firstChild);