Showing
1 changed file
with
6 additions
and
4 deletions
@@ -105,9 +105,11 @@ $('.dropdown-menu').on('mouseenter', function() { | @@ -105,9 +105,11 @@ $('.dropdown-menu').on('mouseenter', function() { | ||
105 | 105 | ||
106 | $(document).on("click",".btn",function(){ | 106 | $(document).on("click",".btn",function(){ |
107 | var $this=$(this); | 107 | var $this=$(this); |
108 | - $this.prop("disabled",true); | ||
109 | - setTimeout(function(){ | ||
110 | - $this.prop("disabled",false) | ||
111 | - },2000); | 108 | + if(!$this.is(":file")){ |
109 | + $this.prop("disabled",true); | ||
110 | + setTimeout(function(){ | ||
111 | + $this.prop("disabled",false) | ||
112 | + },2000); | ||
113 | + } | ||
112 | }); | 114 | }); |
113 | 115 |
-
Please register or login to post a comment