diff --git a/app/views/courses/new.html.erb b/app/views/courses/new.html.erb index 9875ec9b7..dc2509c77 100644 --- a/app/views/courses/new.html.erb +++ b/app/views/courses/new.html.erb @@ -9,7 +9,7 @@ - +
  • diff --git a/public/javascripts/course.js b/public/javascripts/course.js index 46b8b0e54..ad7918779 100644 --- a/public/javascripts/course.js +++ b/public/javascripts/course.js @@ -76,7 +76,7 @@ function hidden_homework_score_form() function regex_course_name() { var name = $.trim($("#course_name").val()); - if(name.length == 0) + if(name.length < 2) { $("#course_name_notice").show(); return false; @@ -1431,4 +1431,4 @@ function submit_course_feedback() { function show_more_tool(){ $('#navContentCourse').css('display', 'block'); -} +}