Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 4ed5fc9

Browse files
matskomhevery
authored andcommitted
chore(ngdocs): make sure the fold feature doesn't show up during page load
1 parent 246c143 commit 4ed5fc9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/src/templates/index.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
<!--[if IE 8]> <html class="no-js lt-ie9 ng-app: docsApp;" lang="en" ng-controller="DocsController"> <![endif]-->
55
<!--[if gt IE 8]><!--> <html class="no-js ng-app: docsApp;" lang="en" ng-controller="DocsController"> <!--<![endif]-->
66
<head>
7+
<style>
8+
.ng-hide { display:none!important; }
9+
</style>
710
<meta charset="utf-8">
811
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
912
<meta name="Description"
@@ -201,8 +204,8 @@ <h4>{{ key }}</h4>
201204
</div>
202205
</header>
203206

204-
<div id="docs-fold-overlay" ng-show="docs_fold" ng-click="fold(null)"></div>
205-
<div class="foldout" id="docs-fold" ng-show="docs_fold">
207+
<div class="ng-hide" id="docs-fold-overlay" ng-show="docs_fold" ng-click="fold(null)"></div>
208+
<div class="foldout ng-hide" id="docs-fold" ng-show="docs_fold">
206209
<div id="docs-fold-close" ng-click="fold(null)">
207210
<span class="icon-remove-sign"></span>
208211
</div>

0 commit comments

Comments
 (0)