From 06ad88cde73cb61370b1cdb4c921ab4c9a5a186e Mon Sep 17 00:00:00 2001 From: wangxin Date: Fri, 29 Jun 2018 16:35:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8A=E4=BC=A0=E6=8F=92?= =?UTF-8?q?=E4=BB=B6chrome=E7=A7=BB=E9=99=A4=E6=96=87=E4=BB=B6=E6=97=A0?= =?UTF-8?q?=E5=8F=8D=E5=BA=94=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugins/bootstrap-fileupload/js/bootstrap-fileupload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/static/global/plugins/bootstrap-fileupload/js/bootstrap-fileupload.js b/src/main/webapp/static/global/plugins/bootstrap-fileupload/js/bootstrap-fileupload.js index 9ea6108de..3e3d561c1 100644 --- a/src/main/webapp/static/global/plugins/bootstrap-fileupload/js/bootstrap-fileupload.js +++ b/src/main/webapp/static/global/plugins/bootstrap-fileupload/js/bootstrap-fileupload.js @@ -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();