X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6dd451c7ee48663d6b0753bfe8b4da2060c4cf60..9f7ec064e448a745e0ea2615a089f0988215dec6:/app/assets/javascripts/index.js diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index 2c7d70e11..039cc0ef6 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -347,6 +347,10 @@ $(document).ready(function () { }); } }); + + $(".colour-preview-box").each(function () { + $(this).css("background-color", $(this).data("colour")); + }); } page.unload = function () {