Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed FOUC bug.

  • Loading branch information...
commit e9f362c300461da7ea511e77f7442c571388153f 1 parent 3bcc5cf
@justindarc justindarc authored
Showing with 5 additions and 1 deletion.
  1. +4 −0 uploadkit.css
  2. +1 −1  uploadkit.js
View
4 uploadkit.css
@@ -1,3 +1,7 @@
+input.uk-input, form input.uk-input {
+ display: none;
+}
+
.uk-container {
background: #f7f7f7;
border: 1px solid #ccc;
View
2  uploadkit.js
@@ -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>' :
Please sign in to comment.
Something went wrong with that request. Please try again.