MDL-15993 The method to calculate the SCORM area needs to be changed - based on screen size alone does not make sense with big screens. Only allow the overide of the height parameter if the user specifies.
This commit is contained in:
+1
-1
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user