diff options
| author | Igor Minar | 2011-08-21 00:24:22 -0700 |
|---|---|---|
| committer | Igor Minar | 2011-08-21 01:12:34 -0700 |
| commit | 19aa16c8d501766194aa19512d2bd9147ccac641 (patch) | |
| tree | 80b3e9e50c6170e3072f6855cf73ef04e725ac30 | |
| parent | 4a1972c71b04decac901aeafce3a07e3a5612b63 (diff) | |
| download | angular.js-19aa16c8d501766194aa19512d2bd9147ccac641.tar.bz2 | |
fix(docs): work around the lame ng:show directive
| -rw-r--r-- | docs/src/templates/docs.css | 5 | ||||
| -rw-r--r-- | docs/src/templates/index.html | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/docs/src/templates/docs.css b/docs/src/templates/docs.css index 97ac96dd..829dccb4 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">✕</a> |
