fix : showing progress for true nav

This commit is contained in:
2026-09-17 18:44:23 +07:00 Unverified
parent 1cfdc26404
commit 83e2939b23
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ function PageProgressContent() {
// Start progress on click
useEffect(() => {
const handleClick = (e: MouseEvent) => {
if (e.defaultPrevented) return
if ("pageProgressCancelled" in e) return
const target = (e.target as HTMLElement).closest("a")
if (!target) return