소스 검색

fix: _toggleLoading when only click

Hugh Harlequin 1 년 전
부모
커밋
e052f5b7db
4개의 변경된 파일8개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 1
      dist/js/fileinput.js
  2. 0 0
      dist/js/fileinput.min.js
  3. 0 0
      dist/js/fileinput.min.js.map
  4. 4 1
      js/fileinput.js

+ 4 - 1
dist/js/fileinput.js

@@ -1066,7 +1066,10 @@
             }
             $el[0].closest('.input-group').addEventListener('click', function (e) {
                 $el.click();
-            })
+            });
+            $el.on('click', function () {
+                self._toggleLoading('show');
+            });
         },
         _initFileManager: function () {
             var self = this;

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/fileinput.min.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/fileinput.min.js.map


+ 4 - 1
js/fileinput.js

@@ -1066,7 +1066,10 @@
             }
             $el[0].closest('.input-group').addEventListener('click', function (e) {
                 $el.click();
-            })
+            });
+            $el.on('click', function () {
+                self._toggleLoading('show');
+            });
         },
         _initFileManager: function () {
             var self = this;

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.