Merge pull request #35 from Foxandxss/ng-cloak
chore: hide the english toggle link until angular is loaded
This commit is contained in:
commit
5cfe4fe4df
|
@ -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'}}
|
||||||
|
|
Loading…
Reference in New Issue