fix : showing progress for true nav
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user