Browse Source

* Change the "Go back" button in Message

Visman 6 years ago
parent
commit
b79618c6b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/templates/message.forkbb.php

+ 1 - 1
app/templates/message.forkbb.php

@@ -3,6 +3,6 @@
       <h2>{!! __('Info') !!}</h2>
       <h2>{!! __('Info') !!}</h2>
       <p>{!! $p->message !!}</p>
       <p>{!! $p->message !!}</p>
 @if ($p->back)
 @if ($p->back)
-      <p><a href="javascript: history.go(-1)">{!! __('Go back') !!}</a></p>
+      <p><a href="{!! $p->fRootLink !!}" onclick="window.history.back(); return false;">{!! __('Go back') !!}</a></p>
 @endif
 @endif
     </section>
     </section>