Skip to content

Commit

Permalink
setting min-width and min-height as flash runtime do not initialize w…
Browse files Browse the repository at this point in the history
…hen there's no content in the container (FF and Chrome)
  • Loading branch information
LeandroJF committed Apr 5, 2012
1 parent e020363 commit 8ceca83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/javascript/plupload.flash.js
Expand Up @@ -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);
Expand Down

0 comments on commit 8ceca83

Please sign in to comment.