Skip to content

Commit

Permalink
Deleted the following comment
Browse files Browse the repository at this point in the history
      {#
        The below are all other possibilities but not necessarily the best approach.

        var histLength = history.length;
        window.history.go(-histLength);
        history.pushState({page: 1}, "Cookies", "/cookies")
        history.pushState({page: 2}, "Bank Holidays in the UK", "/bank-holidays")
      #}
  • Loading branch information
MalcolmVonMoJ committed Apr 7, 2020
1 parent dac6745 commit bd4c611
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions cla_public/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,6 @@

function fleeFromPage() {
$("body").hide();
{#
The below are all other possibilities but not necessarily the best approach.

var histLength = history.length;
window.history.go(-histLength);
history.pushState({page: 1}, "Cookies", "/cookies")
history.pushState({page: 2}, "Bank Holidays in the UK", "/bank-holidays")
#}
window.open("http://bbc.co.uk/weather", "_newtab");
window.location.replace("http://www.google.co.uk");
}
Expand Down

0 comments on commit bd4c611

Please sign in to comment.