diff --git a/app/views/admin/news/_form.html.erb b/app/views/admin/news/_form.html.erb index 86cb2bd..96b2586 100644 --- a/app/views/admin/news/_form.html.erb +++ b/app/views/admin/news/_form.html.erb @@ -480,7 +480,7 @@ } if(!validate){ alert("您還沒有上傳封面圖片"); - fileupload_alert.text("<%= t("news.file_size")%>: "+file_size.toFixed(1)+"MB <%= t("news.file_size_exceed_limitation") %>, <%= t("news.file_size_limit") %>: "+fileupload_size_limit_mb+"MB"); + fileupload_alert.text("<%= t("news.file_size")%>: "+file_size.toFixed(1)+"MB , <%= t("news.file_size_limit") %>: "+fileupload_size_limit_mb+"MB"); fileupload_alert.show(); $("#basic").removeClass("active"); $("#status").removeClass("active");