Selaa lähdekoodia

Fix iframe height after load see BT#15166

Julio Montoya 6 vuotta sitten
vanhempi
commit
ae2091cdf0
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      main/document/showinframes.php

+ 2 - 1
main/document/showinframes.php

@@ -421,9 +421,10 @@ if ($execute_iframe) {
             echo "<script>
                     function waitToLoad() {     
                         $('#mainFrame').css('display', 'block');
+                        updateContentHeight();
                     }
                     $(function() {
-                        setTimeout(waitToLoad, 2000);
+                        setTimeout(waitToLoad, 2500);
                     });
             </script>";
         }