Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

flash no initializing when container has no content #532

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+4 −0
Split
@@ -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);