diff options
Diffstat (limited to 'app/views/journals')
-rw-r--r-- | app/views/journals/diff.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/journals/diff.html.erb b/app/views/journals/diff.html.erb index ac17e090a..d28ee0f71 100644 --- a/app/views/journals/diff.html.erb +++ b/app/views/journals/diff.html.erb @@ -7,7 +7,7 @@ <p> <%= link_to(l(:button_back), issue_path(@issue), - :onclick => 'if (history.length > 1) {history.back(); return false;}') %> + :onclick => 'if (document.referrer != "") {history.back(); return false;}') %> </p> <% html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %> |