X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=files%2Fpr0n-fullscreen.js;h=6536ed75da526e7c216e4c42379f0ce9f0d2608b;hb=783ddb3759fc8aa9f18bdc054938dcdc0ecdd587;hp=2a43c07ee0d2332922e776e08a0aa1c6dd0eb7d8;hpb=1a510dfa9c7cf801e9189f3ed329ef29b3526d65;p=pr0n diff --git a/files/pr0n-fullscreen.js b/files/pr0n-fullscreen.js index 2a43c07..6536ed7 100644 --- a/files/pr0n-fullscreen.js +++ b/files/pr0n-fullscreen.js @@ -134,6 +134,9 @@ function display_image(width, height, evt, filename, element_id) var url = "http://" + global_vhost + "/" + evt + "/" + width + "x" + height + "/nobox/" + filename; var main = document.getElementById("iehack"); var img = replace_image_element(url, element_id, main); + img.style.position = "absolute"; + img.style.left = "0px"; + img.style.top = "0px"; if (global_infobox != 'nobox/') { var url = "http://" + global_vhost + "/" + evt + "/" + width + "x" + height + "/box/" + filename;