diff options
| author | Igor Minar | 2011-08-21 00:24:22 -0700 |
|---|---|---|
| committer | Igor Minar | 2011-08-21 00:46:58 -0700 |
| commit | 607de75fa42bdf4221698ddce8ce0a2bbc7ec99d (patch) | |
| tree | 57fb9fe11b25f75d568fc38c460a5671f4889a49 | |
| parent | db04241beb152a4614534ac8c987a3146c8f2992 (diff) | |
| download | angular.js-607de75fa42bdf4221698ddce8ce0a2bbc7ec99d.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 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">✕</a> |
