Skip to content
Browse files

setting min-width and min-height as flash runtime do not initialize w…

…hen there's no content in the container (FF and Chrome)
  • Loading branch information...
1 parent e020363 commit 8ceca83eb9aa83022358b99abc2bb519d1267d23 @LeandroJF committed Apr 5, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/javascript/plupload.flash.js
View
4 src/javascript/plupload.flash.js
@@ -122,6 +122,10 @@
if (plupload.getStyle(container, 'position') === 'static') {
container.style.position = 'relative';
}
+ if (container) {
+ container.style.minWidth = '1px';
+ container.style.minHeight = '1px';
+ }
}
container.appendChild(flashContainer);

0 comments on commit 8ceca83

Please sign in to comment.
Something went wrong with that request. Please try again.