Add return false to window.history.back

Adding this makes it work in Safari
This commit is contained in:
Steve Gilvarry authored and GitHub committed 2018-03-04 08:37:21 +11:00
1 parent 47ec0abf11
commit db8ab28845
1 file changed
+1 -1
+1 -1
View File
@@ -119,7 +119,7 @@ if ( $pages > 1 ) {
?>
</div>
<div id="controls">
<a href="#" onclick="window.history.back();"><?php echo translate('Back') ?></a>
<a href="#" onclick="window.history.back();return false;"><?php echo translate('Back') ?></a>
<a id="timelineLink" href="?view=timeline<?php echo $filterQuery ?>"><?php echo translate('ShowTimeline') ?></a>
</div>
</div>