diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/templates/correlation_page.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/correlation_page.html b/wqflask/wqflask/templates/correlation_page.html index 3d543c35..6419b185 100644 --- a/wqflask/wqflask/templates/correlation_page.html +++ b/wqflask/wqflask/templates/correlation_page.html @@ -572,7 +572,7 @@ console.timeEnd("Creating table"); - $('.toggle-vis').on( 'click', function (e) { + $('.toggle-vis').on('click', function (e) { e.preventDefault(); // Get the column API object @@ -588,6 +588,12 @@ } } ); + $('#redraw').on('click', function (e) { + e.preventDefault(); + trait_table.columns().visible( true ); + $('.toggle-vis.active').removeClass('active'); + }); + submit_special = function(url) { $("#correlation_form").attr("action", url); return $("#correlation_form").submit(); |