MDL-26482 minor whitespace fix
This commit is contained in:
@@ -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'));
|
||||
|
||||
+1
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user