Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
NikkelM committed Jul 4, 2024
1 parent 3362fd0 commit bc0b31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async function startDOMObserver(event) {
await chrome.runtime.sendMessage({ command: "connectionTest" });
} catch (error) {
// If the extension's background worker was reloaded, we need to reload the page to re-connect to the background worker
if (error.message === 'Extension context invalidated.') {
if (error.message === "Extension context invalidated.") {
window.location.reload();
}
}
Expand Down

0 comments on commit bc0b31a

Please sign in to comment.