Make menu defaultly hidden.
parent
c946a43368
commit
73aed464c1
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue