aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/static/new/javascript/create_datatable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/static/new/javascript/create_datatable.js b/wqflask/wqflask/static/new/javascript/create_datatable.js
index 68296f06..d42301f9 100644
--- a/wqflask/wqflask/static/new/javascript/create_datatable.js
+++ b/wqflask/wqflask/static/new/javascript/create_datatable.js
@@ -105,7 +105,7 @@ create_table = function(tableId="trait_table", tableData = [], columnDefs = [],
// Get the column API object
var targetCols = $(this).attr('data-column').split(",")
for (let i = 0; i < targetCols.length; i++){
- var column = theTable.column( target_cols[i] );
+ var column = theTable.column( targetCols[i] );
toggleColumn(column);
}
} );