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:
piers
2008-08-12 21:54:38 +00:00
parent dadd943808
commit f5ca89f8b9
+1 -1
View 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');