mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
hide the contents of the page using "display:none;" to prevent FOUSC before the CSS loads.
This commit is contained in:
parent
1e89a28581
commit
41326e107f
2 changed files with 2 additions and 1 deletions
|
@ -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">
|
||||
|
|
|
@ -47,6 +47,7 @@ define(function (require) {
|
|||
})), function bootstrap() {
|
||||
$(function () {
|
||||
angular.bootstrap(document, ['kibana']);
|
||||
$(document.body).children().show();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue