Skip to content

Commit b0668fe

Browse files
committed
fix: adjust mutation threshold for settled events to improve detection
1 parent 218e51a commit b0668fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

userscript/source/vuejsawait.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export function AttachVueSettledEvents(TargetEl: HTMLElement, Options: { QuietMs
7575
LastMutationAt = performance.now()
7676

7777
EmitChange(Mutations)
78-
if (Mutations.flatMap(Mutation => [...Mutation.addedNodes, ...Mutation.removedNodes, ...Mutation.target ? [Mutation.target] : []]).length >= 20) {
78+
if (Mutations.flatMap(Mutation => [...Mutation.addedNodes, ...Mutation.removedNodes, ...Mutation.target ? [Mutation.target] : []]).length >= 15) {
7979
ArmSettledTimer()
8080
}
8181
EmitUrlChange()

0 commit comments

Comments
 (0)