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