mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-02 22:37:07 +08:00
fix(docs): work around the lame ng:show directive
This commit is contained in:
@@ -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%;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user