Skip to content

Commit

Permalink
Expand list for better readability, fix ids
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayquaza01 committed Sep 8, 2018
1 parent 362b0e2 commit e7b98d2
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extension/options.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ td, select, input {
line-height: 30px;
width: 50%;
}
#background-color, #font-color, #background-color-dark, #font-color-dark, #notification-badge-color {
#background_color, #font_color, #background_color_dark, #font_color_dark, #notification_badge_color {
text-transform: uppercase;
}
tr {
Expand Down
38 changes: 37 additions & 1 deletion extension/options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
// Element Variables
const DOM = generateElementsVariable(["upload", "download", "padding", "table", "theme", "background_color", "font_color", "background_color_dark", "font_color_dark", "background_color_picker", "font_color_picker", "background_color_picker_dark", "font_color_picker_dark", "width", "height", "font_family", "font_css", "font_size", "default_display", "private_browsing", "domain_mode", "subdomains_mode", "subdomains", "notification_badge", "notification_badge_color", "notification_badge_color_picker", "bullet_types", "get_params", "export", "import", "exportTextarea", "tabnos", "text_direction", "browser_action_shortcut", "sidebar_action_shortcut"]);
const DOM = generateElementsVariable([
"upload",
"download",
"padding",
"table",
"theme",
"background_color",
"font_color",
"background_color_dark",
"font_color_dark",
"background_color_picker",
"font_color_picker",
"background_color_picker_dark",
"font_color_picker_dark",
"width",
"height",
"font_family",
"font_css",
"font_size",
"default_display",
"private_browsing",
"domain_mode",
"subdomains_mode",
"subdomains",
"notification_badge",
"notification_badge_color",
"notification_badge_color_picker",
"bullet_types",
"get_params",
"export",
"import",
"exportTextarea",
"tabnos",
"text_direction",
"browser_action_shortcut",
"sidebar_action_shortcut"
]);

function filterBlanks(item) {
if (!item.match(/^$/)) {
Expand Down

0 comments on commit e7b98d2

Please sign in to comment.