diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js b/wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js index e1026f8c..2e12ca26 100644 --- a/wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js +++ b/wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js @@ -259,7 +259,7 @@ function loadDataTable(first_run=false, table_id, table_data){ } $('#' + table_type.toLowerCase() + '_searchbox').on( 'keyup', function () { - the_table.search($(this).val()).draw(); + $('#' + table_id).DataTable().search($(this).val()).draw(); } ); $('.toggle-vis').on('click', function (e) { |