Преглед на файлове

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

Daniel Barreto преди 11 години
родител
ревизия
512633e678
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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.