hide the contents of the page using "display:none;" to prevent FOUSC before the CSS loads.

This commit is contained in:
Spencer Alger 2014-03-12 10:12:42 -07:00
parent 1e89a28581
commit 41326e107f
2 changed files with 2 additions and 1 deletions

View file

@ -13,7 +13,7 @@
<link rel="stylesheet" href="kibana/styles/main.css" >
</head>
<body ng-controller="kibana" ng-class="'application-'+activeApp">
<div class="content">
<div class="content" style="display: none;">
<nav class="navbar navbar-inverse navbar-static-top">
<div class="container-fluid">
<ul class="nav navbar-nav">

View file

@ -47,6 +47,7 @@ define(function (require) {
})), function bootstrap() {
$(function () {
angular.bootstrap(document, ['kibana']);
$(document.body).children().show();
});
});