Kartik Visweswaran 10 лет назад
Родитель
Сommit
655cd8d038
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      js/fileinput_locale_zh.js

+ 1 - 1
js/fileinput_locale_zh.js

@@ -38,7 +38,7 @@
         msgSelected: '{n} 个文件选中',
         msgFoldersNotAllowed: '只支持拖拽文件! 跳过 {n} 拖拽的文件夹.',
         dropZoneTitle: '拖拽文件到这里 …',
-        slugCallback: function(text){
+        slugCallback: function(text) {
             return text ? text.split(/(\\|\/)/g).pop().replace(/[^\w\u4e00-\u9fa5\-.\\\/ ]+/g, '') : '';
         }
     };