From f5ca89f8b947f12e63aaeccdaa5b3a7a0ddb2fa7 Mon Sep 17 00:00:00 2001 From: piers Date: Tue, 12 Aug 2008 21:54:38 +0000 Subject: [PATCH] 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. --- mod/scorm/rd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/scorm/rd.js b/mod/scorm/rd.js index 1fedf74031..8a4d29a32f 100644 --- a/mod/scorm/rd.js +++ b/mod/scorm/rd.js @@ -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'); -- 2.39.5