]> git.sesse.net Git - pr0n/commitdiff
Remove an old IE hack.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 6 Jul 2020 08:10:59 +0000 (10:10 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 6 Jul 2020 08:10:59 +0000 (10:10 +0200)
files/pr0n-fullscreen.js
templates/default/fullscreen-footer

index d66a5f1e849ba26c9974f134e4909bfc80035d4c..49d20bd577968f0af1ee63c0b2c81e5d2438974a 100644 (file)
@@ -125,7 +125,7 @@ function rename_element(old_name, new_name)
 function display_image(width, height, evt, filename, element_id)
 {
        var url = window.location.origin + "/" + evt + "/" + width + "x" + height + "/" + filename;
-       var main = document.getElementById("iehack");
+       var main = document.getElementById("main");
        var preload = document.getElementById("preload");
        var dpr = find_dpr();
        var img;
index 7f50dc25da0e20abce39e03d30ad93d4e9ad4b3d..2e72358038331153fdd24e29463a89d3231e60fa 100644 (file)
@@ -7,7 +7,7 @@ var global_select = %SEL%;
   </head>
   <body>
     <div>
-      <div class="container" id="main"><div id="iehack"></div></div>
+      <div class="container" id="main"></div>
       <img id="previous" src="/previous.png" alt="&lt;-" />
       <img id="next" src="/next.png" alt="-&gt;" />
       <img id="close" src="/close.png" alt="x" />