diff --git a/script.js b/script.js index 6beb22d..3230772 100644 --- a/script.js +++ b/script.js @@ -214,7 +214,7 @@ const editMode = $(".inplaceeditable").length > 0; - if (editMode) { + if (!editMode) { var sections = $('.course-section'); var found = false;