aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-08-14 12:12:37 +0200
committerMario Vavti <mario@mariovavti.com>2016-08-14 12:12:37 +0200
commit993b182f811a6e7f3287c9554b00abd72517954d (patch)
treed2a8c25fba762f0a5d788be4c1dd003b351002bb
parent82d61f194a62a5b078825bf6eb341dbe5d83dfab (diff)
downloadvolse-hubzilla-993b182f811a6e7f3287c9554b00abd72517954d.tar.gz
volse-hubzilla-993b182f811a6e7f3287c9554b00abd72517954d.tar.bz2
volse-hubzilla-993b182f811a6e7f3287c9554b00abd72517954d.zip
fix javascript error if not logged in
-rwxr-xr-xview/tpl/nav.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index c0e17d6b5..5be6d21bd 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -12,7 +12,7 @@
<i class="fa fa-arrow-circle-right" id="expand-aside-icon"></i>
</button>
{{if $nav.help.6}}
- <button id="context-help-btn"class="navbar-toggle" type="button" onclick="contextualHelp(); return false;">
+ <button id="context-help-btn" class="navbar-toggle" type="button" onclick="contextualHelp(); return false;">
<i class="fa fa-question-circle"></i>
</button>
{{/if}}
@@ -56,7 +56,7 @@
{{if !$userinfo}}
{{if $nav.loginmenu}}
<li class="{{$nav.loginmenu.0.2}} hidden-xs">
- <a data-toggle="dropdown" data-target="#" href="{{$nav.loginmenu.0.0}}" title="{{$nav.loginmenu.0.3}}" id="{{$nav.loginmenu.0.4}}">{{$nav.loginmenu.0.1}} <span class="caret" id="loginmenu-caret"></span></a>
+ <a data-toggle="dropdown" href="{{$nav.loginmenu.0.0}}" title="{{$nav.loginmenu.0.3}}" id="{{$nav.loginmenu.0.4}}">{{$nav.loginmenu.0.1}} <span class="caret" id="loginmenu-caret"></span></a>
<ul class="dropdown-menu" role="menu">
{{foreach $nav.loginmenu as $loginmenu}}
<li role="presentation"><a class="{{$loginmenu.2}}" href="{{$loginmenu.0}}" title="{{$loginmenu.3}}" role="menuitem" id="{{$loginmenu.4}}">{{$loginmenu.1}}</a></li>