Skip to content

Commit

Permalink
instantly mount
Browse files Browse the repository at this point in the history
  • Loading branch information
KentoNishi committed May 26, 2024
1 parent 57df613 commit d0a9555
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/scripts/chat-mounter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,4 @@ const mount = (): void => {
}, 1);
};

if (isLiveTL) {
mount();
}
else {
setTimeout(() => {
if (document.querySelector('.hyperchat-root') === null) {
mount();
}
}, 500);
}
mount();

0 comments on commit d0a9555

Please sign in to comment.