Skip to content

Commit

Permalink
fix related to #298
Browse files Browse the repository at this point in the history
  • Loading branch information
Danial Farid authored and Danial Farid committed Sep 26, 2014
1 parent d1158d9 commit 3516aec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion demo/war/js/angular-file-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ angularFileUpload.directive('ngFileSelect', [ '$parse', '$timeout', function($pa
}
}
if (attr["multiple"]) fileElem.attr("multiple", "true");
fileElem.css("width", "1px").css("height", "1px").css("opacity", 0).css("position", "absolute").css('filter', 'alpha(opacity=0)');
fileElem.css("width", "1px").css("height", "1px").css("opacity", 0).css("position", "absolute").css('filter', 'alpha(opacity=0)')
.css("padding", 0).css("margin", 0).css("overflow", "hidden");
fileElem.attr('__wrapper_for_parent_', true);

// fileElem.css("top", 0).css("bottom", 0).css("left", 0).css("right", 0).css("width", "100%").
Expand Down
3 changes: 2 additions & 1 deletion dist/angular-file-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ angularFileUpload.directive('ngFileSelect', [ '$parse', '$timeout', function($pa
}
}
if (attr["multiple"]) fileElem.attr("multiple", "true");
fileElem.css("width", "1px").css("height", "1px").css("opacity", 0).css("position", "absolute").css('filter', 'alpha(opacity=0)');
fileElem.css("width", "1px").css("height", "1px").css("opacity", 0).css("position", "absolute").css('filter', 'alpha(opacity=0)')
.css("padding", 0).css("margin", 0).css("overflow", "hidden");
fileElem.attr('__wrapper_for_parent_', true);

// fileElem.css("top", 0).css("bottom", 0).css("left", 0).css("right", 0).css("width", "100%").
Expand Down
2 changes: 1 addition & 1 deletion dist/angular-file-upload.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3516aec

Please sign in to comment.