pass showVersionIndicator as string paramater to displayBrowserActionBadge
This commit is contained in:
parent
f2243f9d11
commit
65c58667b1
1 changed files with 2 additions and 3 deletions
|
@ -1,8 +1,7 @@
|
|||
const MAJOR_VERSIONS = ["2.3.0", "2.4.0"];
|
||||
const badge = {
|
||||
async init() {
|
||||
const showVersionIndicator = await browser.windows.getCurrent();
|
||||
this.displayBrowserActionBadge(showVersionIndicator);
|
||||
async init() {
|
||||
this.displayBrowserActionBadge("showVersionIndicator");
|
||||
},
|
||||
|
||||
disableAddon(tabId) {
|
||||
|
|
Loading…
Add table
Reference in a new issue