From 3a4357113cf52ef71a686736d30dad0291f33e33 Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Tue, 8 Dec 2020 04:50:26 +0300 Subject: replace item with column --- wqflask/wqflask/static/new/javascript/auto_hide_column.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wqflask/wqflask/static/new/javascript/auto_hide_column.js b/wqflask/wqflask/static/new/javascript/auto_hide_column.js index f879e0d1..2fc89786 100644 --- a/wqflask/wqflask/static/new/javascript/auto_hide_column.js +++ b/wqflask/wqflask/static/new/javascript/auto_hide_column.js @@ -17,7 +17,7 @@ function filterDatatable(datatable){ visitedFoundColumns.push(col) } } - emptyColumns=Array.from(Array(columnCount).keys()).filter((item)=>visitedFoundColumns.indexOf(item)<0); + emptyColumns=Array.from(Array(columnCount).keys()).filter((column)=>visitedFoundColumns.indexOf(column)<0); return datatable.columns(emptyColumns).visible(false); } \ No newline at end of file -- cgit v1.2.3