Skip to content
Permalink
Browse files

Remove empty target for link in menu

  • Loading branch information...
AngelFQC committed May 31, 2017
1 parent 4a716a1 commit 0318a28b79c95df191709041c76ec6cd7509a842
Showing with 2 additions and 1 deletion.
  1. +2 −1 main/template/default/layout/menu.tpl
@@ -16,7 +16,8 @@
<ul class="nav navbar-nav">
{% for item in menu %}
<li class="{{ item.key }} {{ item.current }}">
<a href="{{ item.url }}" target="{{ item.target }}" title="{{ item.title }}">{{ item.title }}
<a href="{{ item.url }}" {{ item.target ? 'target="' ~ item.target ~ '"' : '' }} title="{{ item.title }}">
{{ item.title }}
</a>
</li>
{% endfor %}

0 comments on commit 0318a28

Please sign in to comment.
You can’t perform that action at this time.