]> git.openstreetmap.org Git - rails.git/commitdiff
Fix warning: 'value', 'index' is defined but never used.
authorŠtefan Baebler <stefan.baebler@gmail.com>
Tue, 20 Mar 2018 00:52:54 +0000 (01:52 +0100)
committerŠtefan Baebler <stefan.baebler@gmail.com>
Tue, 20 Mar 2018 00:52:54 +0000 (01:52 +0100)
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"));
       });
     }