From bc0886e41585b1ebd0072b3089da60656edfd8f0 Mon Sep 17 00:00:00 2001 From: bcsongi Date: Thu, 5 Mar 2020 13:22:31 +0100 Subject: [PATCH] Update jquery.history.js Buggy onPopState calls in case of section change --- scripts/bundled-uncompressed/html5/jquery.history.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/bundled-uncompressed/html5/jquery.history.js b/scripts/bundled-uncompressed/html5/jquery.history.js index 48a7f5ca..76ba80fc 100644 --- a/scripts/bundled-uncompressed/html5/jquery.history.js +++ b/scripts/bundled-uncompressed/html5/jquery.history.js @@ -1762,6 +1762,7 @@ * Refresh the Current State */ History.onPopState = function(event,extra){ + if (History.getLocationHref().indexOf("#")!==-1) return; // Prepare var stateId = false, newState = false, currentHash, currentState;