Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fix typo to fill placeholders with current value again

Markus Kahla8d8b2eca995
diff --git a/app/views/custom_styles/show.html.erb b/app/views/custom_styles/show.html.erb
index 826b2f74a46..57481e5d365 100644
--- a/app/views/custom_styles/show.html.erb
+++ b/app/views/custom_styles/show.html.erb
@@ -196,7 +196,7 @@ See COPYRIGHT and LICENSE files for more details.
var computedStyle = getComputedStyle(document.documentElement);
document
- .querySelectorAlt('.design-color--variable-input')
+ .querySelectorAll('.design-color--variable-input')
.forEach(function(el) {
if (!el.value || el.value === '') {
el.placeholder = computedStyle.getPropertyValue('--' + el.dataset.variableName).trim();