always return to parent page

This commit is contained in:
Serghei Mihai 2016-04-13 18:33:19 +02:00
parent c7db07a92d
commit f07ba2b9af
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@
<div class="parent-navbar-brand">
<div class="navbar-btn">
{% if(o.id && o.id != 'home'){ %}
<a href="#" class="btn btn-default pull-left momo-back-btn" onclick="window.history.back(); return false;">
<a href="#{%= o.parent.id %}" class="btn btn-default pull-left momo-back-btn">
<span class="sr-only"> History back </span>
<i class="fa fa-chevron-left"></i>
</a>