Permalink
Browse files

Merge branch 'm20_MDL-26212_resizefix' of git://github.com/danmarsden…

…/moodle
  • Loading branch information...
2 parents cbbc272 + 71550f6 commit 9ceaf7b5a0992eb863e15f1506e800c93476c789 @skodak skodak committed Feb 14, 2011
Showing with 1 addition and 7 deletions.
  1. +0 −6 mod/scorm/module.js
  2. +1 −1 mod/scorm/version.php
View
@@ -178,12 +178,6 @@ M.mod_scorm.init = function(Y, hide_nav, hide_toc, toc_title, window_name, launc
if (alsowidth) {
scorm_layout_widget.setStyle('width', '');
var newwidth = scorm_get_htmlelement_size('content', 'width');
- if (newwidth > 600) {
- scorm_layout_widget.setStyle('width', newwidth+'px');
- }
- else {
- scorm_layout_widget.setStyle('width', '600px');
- }
}
// make sure that the max width of the TOC doesn't go to far
@@ -6,7 +6,7 @@
/////////////////////////////////////////////////////////////////////////////////
-$module->version = 2011013100; // The (date) version of this module
+$module->version = 2011021400; // The (date) version of this module
$module->requires = 2010080300; // The version of Moodle that is required
$module->cron = 300; // How often should cron check this module (seconds)?

0 comments on commit 9ceaf7b

Please sign in to comment.