MDL-35134: course/format/weeks: remove trailing comma in object definition

IE doesn't like trailing commas in object (or array) definitions, and will cease processing JavaScript when it hits one.
This commit is contained in:
Paul Nicholls
2012-08-30 11:31:35 +12:00
parent d71c486507
commit f32cdf71a6
+1 -1
View File
@@ -36,7 +36,7 @@ M.course.format.get_config = function() {
M.course.format.swap_sections = function(Y, node1, node2) {
var CSS = {
COURSECONTENT : 'course-content',
SECTIONADDMENUS : 'section_add_menus',
SECTIONADDMENUS : 'section_add_menus'
};
var sectionlist = Y.Node.all('.'+CSS.COURSECONTENT+' '+M.course.format.get_section_selector(Y));