Make menu defaultly hidden.

stable
Andrey Antukh 2014-07-09 14:44:21 +02:00
parent c946a43368
commit 73aed464c1
2 changed files with 6 additions and 1 deletions

View File

@ -113,6 +113,9 @@ MainTaigaDirective = ($log, $compile, $rootscope) ->
container = $el.find(".master > .wrapper")
menuDom = $el.find("nav.menu")
if menuDom.hasClass("hidden")
menuDom.removeClass("hidden")
dom = $compile(template({}))(targetScope)
menuDom.empty()
menuDom.append(dom)

View File

@ -11,8 +11,10 @@ html(lang="en", ng-app="taiga")
body(tg-main)
include partials/views/modules/project-nav
nav.menu
//- the content of nav.menu is in coffe.modules.base TaigaMain directive
nav.menu.hidden
include partials/views/components/notification-message
div.master(ng-view)