Przeglądaj źródła

Upgrade to release v2.1.0

Kartik Visweswaran 10 lat temu
rodzic
commit
0ba2f343fd
2 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      js/fileinput.js
  2. 0 0
      js/fileinput.min.js

+ 1 - 2
js/fileinput.js

@@ -187,8 +187,7 @@
         listen: function () {
             var self = this;
             self.$element.on('change', $.proxy(self.change, self));
-            self.$element.on('focus', function(ev) {
-                ev.preventDefault();
+            self.$btnFile.on('click', function(ev) {
                 self.$captionContainer.focus();
             });
             $(self.$element[0].form).on('reset', $.proxy(self.reset, self));

Plik diff jest za duży
+ 0 - 0
js/fileinput.min.js


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików