Skip to content

Commit

Permalink
Fix anti FOUC.
Browse files Browse the repository at this point in the history
  • Loading branch information
vodkabears committed Feb 14, 2014
1 parent a721306 commit 6376b3c
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion dist/jquery.remodal.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ body.remodal_active .remodal-bg {

/* Anti FOUC(begin) */
.remodal, [data-remodal-id] {
display: none;
visibility: hidden;
}

Expand Down
1 change: 1 addition & 0 deletions dist/jquery.remodal.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
this.modal.addClass(pluginName);
}

this.modal.css("visibility", "visible");
this.modal.append(this.modalClose);
this.overlay.append(this.modal);
this.body.append(this.overlay);
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.remodal.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/jquery.remodal.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ body.remodal_active .remodal-bg {

/* Anti FOUC(begin) */
.remodal, [data-remodal-id] {
display: none;
visibility: hidden;
}

Expand Down
1 change: 1 addition & 0 deletions src/jquery.remodal.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
this.modal.addClass(pluginName);
}

this.modal.css("visibility", "visible");
this.modal.append(this.modalClose);
this.overlay.append(this.modal);
this.body.append(this.overlay);
Expand Down

0 comments on commit 6376b3c

Please sign in to comment.