Skip to content

Commit

Permalink
webext: Cleaning useless code, for #292
Browse files Browse the repository at this point in the history
  • Loading branch information
notabene committed Jan 17, 2018
1 parent f3e242b commit d6cfe3c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions webextension/scripts/checkalts.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
let btnCheckalts = document.getElementById('btnCheckalts');
btnCheckalts.addEventListener('click', function () {

if (window.hasRun_btnCheckalts) {
return;
}
window.hasRun_btnCheckalts = true;

browser.tabs.executeScript({ file: "/scripts/injected/checkalts.js" }).then(() => {
let icons = [];
icons.ok = browser.extension.getURL("/icons/ok.svg");
Expand Down

0 comments on commit d6cfe3c

Please sign in to comment.