AAAAAAAAAAAAAAAAAAAAAAAAAAA

This commit is contained in:
wuggy 2026-09-14 16:11:09 -07:00
commit e0fe6706d1
6 changed files with 4 additions and 24 deletions

View file

@ -76,12 +76,6 @@ function BrowserAction(options, extension) {
BrowserAction.prototype = {
build() {
let areas = {
navbar: CustomizableUI.AREA_NAVBAR,
menupanel: CustomizableUI.AREA_PANEL,
tabstrip: CustomizableUI.AREA_TABSTRIP,
personaltoolbar: CustomizableUI.AREA_BOOKMARKS,
};
let widget = CustomizableUI.createWidget({
id: this.id,
viewId: this.viewId,
@ -89,8 +83,7 @@ BrowserAction.prototype = {
removable: true,
label: this.defaults.title || this.extension.name,
tooltiptext: this.defaults.title || "",
defaultArea: areas[this.extension.manifest.browser_action.default_area] ||
CustomizableUI.AREA_NAVBAR,
defaultArea: CustomizableUI.AREA_NAVBAR,
onBeforeCreated: document => {
let view = document.createElementNS(XUL_NS, "panelview");