]> git.0d.be Git - panikweb.git/commitdiff
always load page during onpopstate
authorFrédéric Péters <fpeters@0d.be>
Sun, 22 Jul 2018 11:09:08 +0000 (13:09 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sun, 22 Jul 2018 11:09:08 +0000 (13:09 +0200)
panikweb_templates/static/js/specifics.js

index d26af6e3b782426ba8a9a8bafb49c518a07cc1f7..ed0428b92c8ea2dd0307f462be01930dbc289f53 100644 (file)
@@ -95,7 +95,7 @@ $(function() {
        };
 
        $(window).on("popstate", function(e) {
-               if (e.originalEvent.state !== null) {loadPage(location.href, false);}
+               loadPage(location.href, false);
        });
 
        loadPage = function(href, push_state) {