[bug] Moved it below the Tumblr search bar (for many themes) and upped the z-index.

This commit is contained in:
Elf M. Sternberg 2016-02-06 16:44:06 -08:00
parent e18d72fc35
commit faac34ba93
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
function tumblr_reblog_warning() {
var post = document.querySelectorAll('.post-wrapper script');
if (post.length > 0) {
document.body.innerHTML += ('<div style="background-color: rgba(0,0,0,0.6); float: right; position: absolute; top: 20px; width: 400px; color:limegreen; border: 4px solid limegreen">' +
document.body.innerHTML += ('<div style="background-color: rgba(0,0,0,0.6); float: right; position: absolute; top: 60px; width: 320px; color:limegreen; border: 4px solid limegreen; z-index: 50">' +
'SCRIPT DETECTED</div>');
}
}