From 0d9c6623fbb89623489b517a8c221341d72bea5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Ma=C3=B1as?= Date: Fri, 17 Mar 2023 12:19:01 +0100 Subject: [PATCH] Use const instead of let (#520) --- beastify/popup/choose_beast.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beastify/popup/choose_beast.js b/beastify/popup/choose_beast.js index ca2f08a..ad1d4cf 100644 --- a/beastify/popup/choose_beast.js +++ b/beastify/popup/choose_beast.js @@ -34,7 +34,7 @@ function listenForClicks() { */ function beastify(tabs) { browser.tabs.insertCSS({code: hidePage}).then(() => { - let url = beastNameToURL(e.target.textContent); + const url = beastNameToURL(e.target.textContent); browser.tabs.sendMessage(tabs[0].id, { command: "beastify", beastURL: url