From c21a30184841c0cde30cf84ed3f84c09c5d884fb Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Wed, 23 May 2018 13:17:08 +0200
Subject: [PATCH] unused param removed

---
 frontend-js/src/main/js/gui/Legend.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontend-js/src/main/js/gui/Legend.js b/frontend-js/src/main/js/gui/Legend.js
index 47d6c5465c..ebcaa11792 100644
--- a/frontend-js/src/main/js/gui/Legend.js
+++ b/frontend-js/src/main/js/gui/Legend.js
@@ -74,7 +74,7 @@ Legend.prototype.hide = function () {
 };
 Legend.prototype.show = function () {
   var maxZIndex = Math.max.apply(null,
-    $.map($('body *'), function (e, n) {
+    $.map($('body *'), function (e) {
       if ($(e).css('position') !== 'static') {
         return parseInt($(e).css('z-index')) || 1;
       }
-- 
GitLab