Procházet zdrojové kódy

Update lp view to resize right when return from control view refs #6033 #7077

Daniel Barreto před 11 roky
rodič
revize
512633e678
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      main/newscorm/lp_view.php

+ 2 - 2
main/newscorm/lp_view.php

@@ -487,8 +487,8 @@ if ($is_allowed_to_edit) {
             updateContentHeight();
         });
     });
-    //window.onload = updateContentHeight;
-    //window.onresize = updateContentHeight;
+    window.onload = updateContentHeight();
+    window.onresize = updateContentHeight();
 </script>
 <?php
 // Restore a global setting.