Merge pull request #35 from Foxandxss/ng-cloak

chore: hide the english toggle link until angular is loaded
This commit is contained in:
Zhimin YE(Rex) 2016-07-15 17:10:01 +01:00 committed by GitHub
commit 5cfe4fe4df
1 changed files with 1 additions and 1 deletions

View File

@ -15,5 +15,5 @@ md-toolbar(class="main-nav background-regal l-pinned-top l-layer-5",scroll-y-off
li.l-left <a class="main-nav-button" href="/translate/cn/home.html" md-button>关于中文版</a> li.l-left <a class="main-nav-button" href="/translate/cn/home.html" md-button>关于中文版</a>
li.l-right <a class="main-nav-button" href="/docs/ts/latest/quickstart.html" md-button>立即开始!</a> li.l-right <a class="main-nav-button" href="/docs/ts/latest/quickstart.html" md-button>立即开始!</a>
li.l-right li.l-right
a.main-nav-button.md-button(ng-click="appCtrl.toggleSource($event)", href) a.main-nav-button.md-button.ng-cloak(ng-click="appCtrl.toggleSource($event)", href)
span {{appCtrl.sourceVisible?'Hide English':'Show English'}} span {{appCtrl.sourceVisible?'Hide English':'Show English'}}