mirror of
https://github.com/jasny/bootstrap.git
synced 2026-01-21 04:17:53 -05:00
Merge branch 'patch-1' of github.com:ameyab/bootstrap into 2.2.2-j4-wip
This commit is contained in:
2
js/bootstrap-fileupload.js
vendored
2
js/bootstrap-fileupload.js
vendored
@@ -101,7 +101,7 @@
|
||||
this.$input.attr('name', '')
|
||||
|
||||
//ie8+ doesn't support changing the value of input with type=file so clone instead
|
||||
if($.browser.msie){
|
||||
if (navigator.userAgent.match(/msie/i)){
|
||||
var inputClone = this.$input.clone(true);
|
||||
this.$input.after(inputClone);
|
||||
this.$input.remove();
|
||||
|
||||
Reference in New Issue
Block a user