From 26b47fdd188d126bef2e5829d5cc460bad530e2a Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=A0tefan=20Baebler?= Date: Tue, 20 Mar 2018 01:52:54 +0100 Subject: [PATCH] Fix warning: 'value', 'index' is defined but never used. --- app/assets/javascripts/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index 138554888..4a8d8d917 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -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")); }); } -- 2.39.5