aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src
diff options
context:
space:
mode:
authorIgor Minar2011-08-21 00:24:22 -0700
committerIgor Minar2011-08-21 00:46:58 -0700
commit607de75fa42bdf4221698ddce8ce0a2bbc7ec99d (patch)
tree57fb9fe11b25f75d568fc38c460a5671f4889a49 /docs/src
parentdb04241beb152a4614534ac8c987a3146c8f2992 (diff)
downloadangular.js-607de75fa42bdf4221698ddce8ce0a2bbc7ec99d.tar.bz2
fix(docs): work around the lame ng:show directive
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/templates/docs.css5
-rw-r--r--docs/src/templates/index.html4
2 files changed, 2 insertions, 7 deletions
diff --git a/docs/src/templates/docs.css b/docs/src/templates/docs.css
index 0e76846f..c81555bf 100644
--- a/docs/src/templates/docs.css
+++ b/docs/src/templates/docs.css
@@ -328,7 +328,6 @@ li {
/* subpages */
#fader {
- display: none;
position: fixed;
top: 0px;
left: 0px;
@@ -341,10 +340,6 @@ li {
z-index: 3;
}
-#subpage {
- display: none;
-}
-
#subpage > div {
position: fixed;
top: 50%;
diff --git a/docs/src/templates/index.html b/docs/src/templates/index.html
index 4f0b6490..feb2468f 100644
--- a/docs/src/templates/index.html
+++ b/docs/src/templates/index.html
@@ -83,8 +83,8 @@
</div>
</div>
- <div id="fader" ng:show="subpage"></div>
- <div id="subpage" ng:show="subpage">
+ <div id="fader" ng:show="subpage" style="display: none"></div>
+ <div id="subpage" ng:show="subpage" style="display: none">
<div>
<h2>Would you like full offline support for this AngularJS Docs App?</h2>
<a ng:click="subpage=false">&#10005;</a>