Skip to content

Commit 1e1a77f

Browse files
committed
perf: reduce timeout from 500 to 300
1 parent 7bdf950 commit 1e1a77f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ const debounce = (func, timeout) => {
103103
};
104104

105105
const observer = new MutationObserver((mutations) => {
106-
mutations.forEach(debounce(update, 500));
106+
mutations.forEach(debounce(update, 300));
107107
});
108108

109109
if (

0 commit comments

Comments
 (0)