mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 17:41:40 -05:00
Fix #2583: check src exists in scrolling
This commit is contained in:
parent
d65fd5cff3
commit
f047e5c895
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ export async function recursiveScroll(
|
|||
if (
|
||||
(await scroll(xDistance, yDistance, treeWalker.currentNode)) ||
|
||||
((treeWalker.currentNode as any).contentDocument &&
|
||||
!(treeWalker.currentNode as any).src.startsWith(
|
||||
!(treeWalker.currentNode as any).src?.startsWith(
|
||||
"moz-extension://",
|
||||
) &&
|
||||
(await recursiveScroll(
|
||||
|
|
Loading…
Add table
Reference in a new issue