]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Merge branch 'master' into tag-colour-preview-rebase
[rails.git] / app / assets / javascripts / index.js
index 2c7d70e11ad99603056546396c017cc7e1711ddc..562eb80fdd2fe1d7d59c5c6fa5c17df6291cf78a 100644 (file)
@@ -347,6 +347,10 @@ $(document).ready(function () {
           });
         }
       });
+      
+      $('.colour-preview-box').each(function () {
+        $(this).css("background-color", $(this).data("colour"));
+      });
     }
 
     page.unload = function () {