Skip to content

Commit

Permalink
[FB] gCustomizeMode | Fix missing init
Browse files Browse the repository at this point in the history
  • Loading branch information
surapunoyousei committed Sep 5, 2024
1 parent 0d65d90 commit c27db0c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions browser/base/content/browser-UI-customizing-menu.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ export const gFloorpCustomizeMode = {
);
}

console.log("addElemToCustomizeModeArea", targetId, type, retry);

if (enabled) {
// If enabled == false, this code is not needed. On XUL needless attribute sould be removed.
elem.firstChild.setAttribute("checked", "true");
Expand Down Expand Up @@ -87,3 +89,5 @@ export const gFloorpCustomizeMode = {
Services.prefs.setBoolPref("floorp.hide.unifiedExtensionsButtton", enabled);
},
};

gFloorpCustomizeMode.init();

0 comments on commit c27db0c

Please sign in to comment.