Unbroke infobox=0 for fullscreen mode.
authorSteinar H. Gunderson <sesse@debian.org>
Sun, 17 May 2009 21:58:47 +0000 (23:58 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Sun, 17 May 2009 21:58:47 +0000 (23:58 +0200)
files/pr0n-fullscreen.js

index 335906741fc077143f1322ad454fe666dea1257f..2a43c07ee0d2332922e776e08a0aa1c6dd0eb7d8 100644 (file)
@@ -135,7 +135,7 @@ function display_image(width, height, evt, filename, element_id)
        var main = document.getElementById("iehack");
        var img = replace_image_element(url, element_id, main);
 
        var main = document.getElementById("iehack");
        var img = replace_image_element(url, element_id, main);
 
-       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);
 
                var url = "http://" + global_vhost + "/" + evt + "/" + width + "x" + height + "/box/" + filename;
                var boximg = replace_image_element(url, element_id + "_box", main);