Skip to content

Commit

Permalink
🐛 Fix pref.js formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
trickypr committed Nov 28, 2023
1 parent 9490da8 commit 7153f4b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@
{
"files": "src/prefs.js",
"options": {
"semi": true
"semi": true,
"trailingComma": "es5"
}
}
]
Expand Down
8 changes: 6 additions & 2 deletions src/prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ pref('browser.search.engine.default', '[email protected]');
// Context menu prefs
pref(
'browser.contextmenus.page',
'link__copy,link__new-tab,separator,selection__copy',
'link__copy,link__new-tab,separator,selection__copy'
);
pref(
'browser.uiCustomization.state',
'{"type":"block","direction":"vertical","content":[{"type":"block","direction":"horizontal","size":{"type":"content"},"content":[{"type":"tabs"},{"type":"icon","icon":"add-line"}],"color":"base"},{"type":"block","direction":"horizontal","size":{"type":"content"},"content":[{"type":"icon","icon":"arrow-left-line"},{"type":"icon","icon":"refresh-line"},{"type":"icon","icon":"arrow-right-line"},{"type":"spacer","grow":1},{"type":"omnibox"},{"type":"spacer","grow":1},{"type":"icon","icon":"menu-line"}],"color":"surface-0"},{"type":"browser"}],"size":{"type":"grow","value":1},"color":"base"}'
);
pref(
'browser.uiCustomization.state',
Expand Down Expand Up @@ -86,7 +90,7 @@ pref('browser.download.alwaysOpenInSystemViewerContextMenuItem', true);
// viewable internally.
pref(
'browser.download.viewableInternally.enabledTypes',
'xml,svg,webp,avif,jxl',
'xml,svg,webp,avif,jxl'
);

// This controls whether the button is automatically shown/hidden depending
Expand Down

0 comments on commit 7153f4b

Please sign in to comment.