mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Issue #991 Part 3: Devtools
This commit is contained in:
parent
5d978c380c
commit
e2e42f0e1a
5 changed files with 12 additions and 41 deletions
|
|
@ -195,12 +195,7 @@ DevTools.prototype = {
|
|||
return tool;
|
||||
}
|
||||
|
||||
let enabled;
|
||||
try {
|
||||
enabled = Services.prefs.getBoolPref(tool.visibilityswitch);
|
||||
} catch (e) {
|
||||
enabled = true;
|
||||
}
|
||||
let enabled = Services.prefs.getBoolPref(tool.visibilityswitch, true);
|
||||
|
||||
return enabled ? tool : null;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue