Use const instead of let (#520)

This commit is contained in:
Carlos Mañas
2023-03-17 12:19:01 +01:00
committed by GitHub
parent c982b6b4af
commit 0d9c6623fb

View File

@@ -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