X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=files%2Fpr0n-fullscreen.js;h=6536ed75da526e7c216e4c42379f0ce9f0d2608b;hb=dc3ef05d90b1383b3dcc6b30720b614d1b160d07;hp=335906741fc077143f1322ad454fe666dea1257f;hpb=44c1611c549b7987e2394988e6bc66b1ad72d203;p=pr0n diff --git a/files/pr0n-fullscreen.js b/files/pr0n-fullscreen.js index 3359067..6536ed7 100644 --- a/files/pr0n-fullscreen.js +++ b/files/pr0n-fullscreen.js @@ -134,8 +134,11 @@ 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') { + if (global_infobox != 'nobox/') { var url = "http://" + global_vhost + "/" + evt + "/" + width + "x" + height + "/box/" + filename; var boximg = replace_image_element(url, element_id + "_box", main);