X-Git-Url: https://git.sesse.net/?p=pr0n;a=blobdiff_plain;f=files%2Fpr0n-fullscreen.js;fp=files%2Fpr0n-fullscreen.js;h=7f5aed6dbe79ebce3b0507674232e923a4c3e415;hp=75ef1f81ac49895bcb9e14e8d65b24cc28bf825b;hb=578882ecd71341f35e8f938442ceda1bdf74afd2;hpb=6de4bf1f755b62791d9721ee3a9cfcaed53e4571 diff --git a/files/pr0n-fullscreen.js b/files/pr0n-fullscreen.js index 75ef1f8..7f5aed6 100644 --- a/files/pr0n-fullscreen.js +++ b/files/pr0n-fullscreen.js @@ -317,7 +317,7 @@ function update_shown_images() // inum !== global_image_num + 1) { // to_remove.push(child); //} - if (inum !== global_image_num) { + if (inum !== global_image_num || (child.className === "fsbox" && !global_infobox)) { to_remove.push(child); } }