mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
guard getBoolPref(kPrefWebIDEInNavbar) with try-catch block
This commit is contained in:
parent
df89b48e30
commit
56f0c32c14
1 changed files with 2 additions and 0 deletions
|
|
@ -224,9 +224,11 @@ var CustomizableUIInternal = {
|
|||
"home-button",
|
||||
];
|
||||
|
||||
try {
|
||||
if (Services.prefs.getBoolPref(kPrefWebIDEInNavbar)) {
|
||||
navbarPlacements.push("webide-button");
|
||||
}
|
||||
} catch(e) {}
|
||||
|
||||
// Place this last, when createWidget is called for pocket, it will
|
||||
// append to the toolbar.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue