X-Git-Url: https://git.sesse.net/?p=pr0n;a=blobdiff_plain;f=files%2Fpr0n-fullscreen.js;h=6536ed75da526e7c216e4c42379f0ce9f0d2608b;hp=2a43c07ee0d2332922e776e08a0aa1c6dd0eb7d8;hb=9e34ef3368cd8f2e2a2f584e48a9e26aa2778552;hpb=e4a4d0b99d822b49a6273e95dfc49cd7cd125404 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;