diff --git a/dist/jquery.fileinput.js b/dist/jquery.fileinput.js index a77e095..c06d4fc 100644 --- a/dist/jquery.fileinput.js +++ b/dist/jquery.fileinput.js @@ -46,14 +46,12 @@ }) }); - element.attr("tabindex", "-1").css({filter: "alpha(opacity=0)", "-moz-opacity": 0, opacity: 0, position: "absolute", "z-index": -1}); + element.css({filter: "alpha(opacity=0)", "-moz-opacity": 0, opacity: 0, position: "absolute", "z-index": -1}); element.before(replacementHtml); element.prev().addClass("fileinput"); if (!$.support.cssPseudoClasses) { element.css({"z-index":"auto", "cursor":"pointer"}); element.prev(".fileinput").css("z-index", -1); - element.removeAttr("tabindex"); - element.prev(".fileinput").attr("tabindex", "-1"); element.hover(function() { $(this).prev(".fileinput").addClass("hover"); }, function() { diff --git a/dist/jquery.fileinput.min.js b/dist/jquery.fileinput.min.js index 475172f..4ee0db9 100644 --- a/dist/jquery.fileinput.min.js +++ b/dist/jquery.fileinput.min.js @@ -6,4 +6,4 @@ * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html */ -(function(e){e.support.cssPseudoClasses=function(){try{var t=e("").appendTo("body"),i=e('