From bc0b31aa13e32c7c305775f6fa0c34837afca9ef Mon Sep 17 00:00:00 2001 From: Nikkel Mollenhauer <57323886+NikkelM@users.noreply.github.com> Date: Thu, 4 Jul 2024 17:36:37 +0100 Subject: [PATCH] Linting --- src/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content.js b/src/content.js index 99be5bfe..00737541 100644 --- a/src/content.js +++ b/src/content.js @@ -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(); } }