Skip to content

Commit 18b18e4

Browse files
Make static card init non-blocking
1 parent 631a9e2 commit 18b18e4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/content-script/index.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,9 @@ async function run() {
899899

900900
await prepareForSelectionTools()
901901
await prepareForSelectionToolsTouch()
902-
await prepareForStaticCard()
902+
prepareForStaticCard().catch((error) => {
903+
console.error('[content] Error in prepareForStaticCard (unhandled):', error)
904+
})
903905
await prepareForRightClickMenu()
904906
prepareForJumpBackNotification().catch((error) => {
905907
console.error('[content] Error in prepareForJumpBackNotification (unhandled):', error)

0 commit comments

Comments
 (0)