]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15993 The method to calculate the SCORM area needs to be changed - based on scree...
authorpiers <piers>
Tue, 12 Aug 2008 21:54:38 +0000 (21:54 +0000)
committerpiers <piers>
Tue, 12 Aug 2008 21:54:38 +0000 (21:54 +0000)
mod/scorm/rd.js

index 1fedf74031e9b45368a2768026a6fc4991586bd3..8a4d29a32f7536e2c9b94dab946ed7b1bfe3fdea 100644 (file)
@@ -63,7 +63,7 @@ function scorm_resize (cwidth, cheight) {
                         
     var totalheighttoc = totalheight+imsnavheight;
     // override total height with configured height if it is smaller
-    if (cheight >= 400 && winheight > cheight) {
+    if (cheight > 0) {
       winheight = cheight;
     }                        
     var toctree = document.getElementById('toctree');