From d7ece5f4b7641532b2104937b056564e1f3fee77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesu=CC=81s=20Rodri=CC=81guez?= Date: Fri, 15 Jul 2016 17:58:01 +0200 Subject: [PATCH] chore: hide the english toggle link until angular is loaded --- public/_includes/_main-nav.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/_includes/_main-nav.jade b/public/_includes/_main-nav.jade index 67c35450e2..39dfd0deb7 100644 --- a/public/_includes/_main-nav.jade +++ b/public/_includes/_main-nav.jade @@ -15,5 +15,5 @@ md-toolbar(class="main-nav background-regal l-pinned-top l-layer-5",scroll-y-off li.l-left 关于中文版 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'}}