Add return false to window.history.back
Adding this makes it work in Safari
This commit is contained in:
parent
47ec0abf11
commit
db8ab28845
|
@ -119,7 +119,7 @@ if ( $pages > 1 ) {
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<div id="controls">
|
<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>
|
<a id="timelineLink" href="?view=timeline<?php echo $filterQuery ?>"><?php echo translate('ShowTimeline') ?></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue