Hide 'Back' button when it is superfluous on public pages.
This commit is contained in:
parent
11010393d8
commit
1054c019ce
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
<script>
|
||||
(function() {
|
||||
// If there's page history to go back to, show the back button.
|
||||
if(history && history.length >= 2) {
|
||||
if(history && history.length >= 3) {
|
||||
var btn = document.getElementById("btn-back");
|
||||
btn.style.display = 'inline-block';
|
||||
btn.onclick = function(e) {
|
||||
|
|
Loading…
Reference in a new issue