diff --git a/app/views/libraries/_form.html.erb b/app/views/libraries/_form.html.erb
index 6628a3ea..c67a8b57 100644
--- a/app/views/libraries/_form.html.erb
+++ b/app/views/libraries/_form.html.erb
@@ -76,7 +76,7 @@
-
请上传封面
+
@@ -168,12 +168,13 @@
$("#author_school_name_notice").addClass("none");
}
var coverId = $("input[name='library[cover_id]']").val();
- if ((!coverId || coverId.length == 0) && (!cover_file || cover_file.length == 0)) {
- $("#cover_file_notice").removeClass("none");
- return
- }else{
- $("#cover_file_notice").addClass("none");
- }
+
+ // if ((!coverId || coverId.length == 0) && (!cover_file || cover_file.length == 0)) {
+ // $("#cover_file_notice").removeClass("none");
+ // return
+ // }else{
+ // $("#cover_file_notice").addClass("none");
+ // }
if($('.attachments_fields .attachment').length == 0){
$("#file_notice").removeClass("none");