mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
Use const instead of let (#520)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user