From 1d1de4220b86000a7774c66052574c55ad4467bc Mon Sep 17 00:00:00 2001 From: John Carroll Date: Wed, 25 Sep 2024 13:03:04 -0400 Subject: [PATCH] remove is-loading inside setTimeout --- fec/fec/static/js/modules/tables.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fec/fec/static/js/modules/tables.js b/fec/fec/static/js/modules/tables.js index 55e3b611a..5c94081bb 100644 --- a/fec/fec/static/js/modules/tables.js +++ b/fec/fec/static/js/modules/tables.js @@ -623,7 +623,7 @@ DataTable_FEC.prototype.checkFromQuery = function(){ } }); - // Put 0-second, set-timeout on receipts/disbursements datatables so checkoxes are availale to check... + // Put 0-second, set-timeout on datatables with processed/raw tabs so function can run... // ...after the two filter panels are loaded if ('data_type' in queryFields){ setTimeout(function() { @@ -634,6 +634,7 @@ DataTable_FEC.prototype.checkFromQuery = function(){ $(box).prop('checked', true).change(); // TODO: jQuery deprecation } } + $('button.is-loading, label.is-loading').removeClass('is-loading'); }, 0); // No Set-timeout needed on datatables without two filter panels...