aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2022-08-02 19:04:18 +0000
committerzsloan2022-08-02 19:04:18 +0000
commit7bad8d7d86a72932ab49498c44c0e345ec93f43e (patch)
treecc5b3860cf714b685a267f6d149bfa00da897188
parent268415b5fe1dd4c355b80e4a74359ef346be1565 (diff)
downloadgenenetwork2-7bad8d7d86a72932ab49498c44c0e345ec93f43e.tar.gz
Condense some conditional logic
-rw-r--r--wqflask/wqflask/static/new/javascript/create_datatable.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/wqflask/wqflask/static/new/javascript/create_datatable.js b/wqflask/wqflask/static/new/javascript/create_datatable.js
index d42301f9..7635cae0 100644
--- a/wqflask/wqflask/static/new/javascript/create_datatable.js
+++ b/wqflask/wqflask/static/new/javascript/create_datatable.js
@@ -68,9 +68,6 @@ create_table = function(tableId="trait_table", tableData = [], columnDefs = [],
} else {
theTable = $('#' + tableId).DataTable(tableSettings);
theTable.draw();
- }
-
- if (firstRun){
$('#' + tableId + '_container').css("width", String($('#' + tableId).width() + 17) + "px");
}
}