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-15 11:20:51 +0200
commit057266653b3bfb72a2894f6909e8809f77a385a6 (patch)
treee792452e788fa25ca4921d772e35c326b5c61f9e
parent2c3843ee4cd1721a6089549547768f4ee00aee6a (diff)
downloadvolse-hubzilla-057266653b3bfb72a2894f6909e8809f77a385a6.tar.gz
volse-hubzilla-057266653b3bfb72a2894f6909e8809f77a385a6.tar.bz2
volse-hubzilla-057266653b3bfb72a2894f6909e8809f77a385a6.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>