]> 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 1385548880753bc74d0a0cb175851cbcf8f7f13c..4a8d8d9173130fd4c59e006021301b2e09b18101 100644 (file)
@@ -335,7 +335,7 @@ $(document).ready(function () {
         }
       });
       
-      $('.colour-preview-box').each(function (index, value) {
+      $('.colour-preview-box').each(function () {
         $(this).css("background-color", $(this).data("colour"));
       });
     }