always return to parent page

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

View File

@ -91,7 +91,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>