From 783ddb3759fc8aa9f18bdc054938dcdc0ecdd587 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 4 Jul 2009 15:16:24 +0200 Subject: [PATCH] Workaround for Chrome in fullscreen mode. --- files/pr0n-fullscreen.js | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.2