Skip to content

Commit

Permalink
Open color picker for text and link colors too
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmerfield committed Nov 16, 2018
1 parent b7a4f65 commit f063da6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dashboard/routes/editor/loadTemplate.js
Expand Up @@ -53,7 +53,7 @@ module.exports = function(req, res, next) {
local.min = 1;
local.max = 1000;
}
} else if (["background_color"].indexOf(local.name) > -1) {
} else if (["background_color", "body_text_color", "body_text_link_color"].indexOf(local.name) > -1) {
// Show the color picker component for this local
local.label = local.name.split("_").join(" ");
local.label = local.label[0].toUpperCase() + local.label.slice(1);
Expand Down

0 comments on commit f063da6

Please sign in to comment.