]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Fix warning: 'value', 'index' is defined but never used.
[rails.git] / app / assets / javascripts / index.js
index 4ea643b261e68b676ae640c9e01cc9e24ba48449..4a8d8d9173130fd4c59e006021301b2e09b18101 100644 (file)
@@ -334,6 +334,10 @@ $(document).ready(function () {
           });
         }
       });
           });
         }
       });
+      
+      $('.colour-preview-box').each(function () {
+        $(this).css("background-color", $(this).data("colour"));
+      });
     }
 
     page.unload = function() {
     }
 
     page.unload = function() {