修复上传插件chrome移除文件无反应的bug

This commit is contained in:
wangxin
2018-06-29 16:35:50 +08:00
parent 8ab4fb9eba
commit 06ad88cde7

View File

@@ -100,7 +100,7 @@
this.$input.attr('name', '')
//ie8+ doesn't support changing the value of input with type=file so clone instead
if($.browser.msie){
if($.browser&&$.browser.msie){
var inputClone = this.$input.clone(true);
this.$input.after(inputClone);
this.$input.remove();