Fix #3616: Fix referrer handling for exclude-hash functionality

This commit is contained in:
Ayush3603 2025-11-10 18:36:41 +05:30
parent d9927a0489
commit fa54d0b2b8

View file

@ -233,6 +233,7 @@
}
let currentUrl = normalize(href);
// Fix referrer handling for exclude-hash functionality
let currentRef = referrer && referrer.startsWith(origin) ? '' : normalize(referrer);
let initialized = false;