aboutsummaryrefslogtreecommitdiff
path: root/assets/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/index.js')
-rw-r--r--assets/js/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/index.js b/assets/js/index.js
index 55a9bf2..e1526d8 100644
--- a/assets/js/index.js
+++ b/assets/js/index.js
@@ -855,7 +855,7 @@
const hashed = link.pathname === url.pathname;
if (hashed) return;
fetch(url, "GET", function(http) {
- filter(url.href, http);
+ if (filter(url, http) === false) return self.location.href = url;
persist();
self.document.dispatchEvent(new CustomEvent("URLChangedCustomEvent", {
bubbles: true