Permalink
Browse files

MDL-26482 minor whitespace fix

  • Loading branch information...
samhemelryk committed Jul 18, 2011
1 parent 0a02548 commit 3753033ef663cee2c527512f70978a4e256c2c32
Showing with 2 additions and 4 deletions.
  1. +1 −1 mod/scorm/locallib.php
  2. +1 −3 mod/scorm/module.js
View
@@ -107,7 +107,7 @@ function scorm_get_skip_view_array(){
* @return array an array of hide table of contents options
*/
function scorm_get_hidetoc_array() {
- return array(SCORM_TOC_SIDE =>get_string('sided', 'scorm'),
+ return array(SCORM_TOC_SIDE => get_string('sided', 'scorm'),
SCORM_TOC_HIDDEN => get_string('hidden', 'scorm'),
SCORM_TOC_POPUP => get_string('popupmenu', 'scorm'),
SCORM_TOC_DISABLED => get_string('disabled', 'scorm'));
View
@@ -31,10 +31,8 @@ M.mod_scorm.init = function(Y, hide_nav, hide_toc, toc_title, window_name, launc
var scorm_disable_toc = false;
var scorm_hide_nav = true;
var scorm_hide_toc = true;
- if (hide_nav == 0) {
- scorm_hide_nav = false;
- }
if (hide_toc == 0) {
+ scorm_hide_nav = false;
scorm_hide_toc = false;
} else if (hide_toc == 3) {
scorm_disable_toc = true;

0 comments on commit 3753033

Please sign in to comment.