]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Merge pull request #1779 from stefanb/tag-colour-preview
[rails.git] / app / assets / javascripts / index.js
index 2c7d70e11ad99603056546396c017cc7e1711ddc..039cc0ef66b5ccb4c6da47ec98ae0c21dcd0e1d8 100644 (file)
@@ -347,6 +347,10 @@ $(document).ready(function () {
           });
         }
       });
+
+      $(".colour-preview-box").each(function () {
+        $(this).css("background-color", $(this).data("colour"));
+      });
     }
 
     page.unload = function () {