Permalink
Browse files

Fixed FOUC bug.

  • Loading branch information...
justindarc committed Mar 5, 2012
1 parent 3bcc5cf commit e9f362c300461da7ea511e77f7442c571388153f
Showing with 5 additions and 1 deletion.
  1. +4 −0 uploadkit.css
  2. +1 −1 uploadkit.js
View
@@ -1,3 +1,7 @@
+input.uk-input, form input.uk-input {
+ display: none;
+}
+
.uk-container {
background: #f7f7f7;
border: 1px solid #ccc;
View
@@ -29,7 +29,7 @@ var UploadKit = function(input) {
var $element = this.$element = $input.wrap('<div id="uk-container-' + id + '" class="uk-container ' + classes + '"/>').parent();
$element.data('uploadKit', this);
$input.data('uploadKit', this);
- $input.attr('disabled', true).hide();
+ $input.attr('disabled', true);
var infoHtml = (isMultiple) ?
'<h1>No Files Selected</h1><h2>Browse for files to upload or drag and drop them here</h2>' :

0 comments on commit e9f362c

Please sign in to comment.