Skip to content

Commit

Permalink
Merge branch 'm20_MDL-26212_resizefix' of git://github.com/danmarsden…
Browse files Browse the repository at this point in the history
…/moodle
  • Loading branch information
skodak committed Feb 14, 2011
2 parents cbbc272 + 71550f6 commit 9ceaf7b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions mod/scorm/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion mod/scorm/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.