From da096e3101fdf3714a3e1a040440ef668409724f Mon Sep 17 00:00:00 2001 From: Jordan <21129425+ItIsJordan@users.noreply.github.com> Date: Thu, 9 Nov 2023 19:20:11 +0000 Subject: [PATCH] Fix js selectors Fix a few broken selectors in javascript managing the display of the filesize loading button section --- hepdata/modules/records/assets/js/hepdata_tables.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hepdata/modules/records/assets/js/hepdata_tables.js b/hepdata/modules/records/assets/js/hepdata_tables.js index fb7fd702..3accc8e4 100644 --- a/hepdata/modules/records/assets/js/hepdata_tables.js +++ b/hepdata/modules/records/assets/js/hepdata_tables.js @@ -59,8 +59,8 @@ HEPDATA.switch_table = function (listId, table_requested, table_name, status) { $("#hepdata_table_content").addClass("hidden"); // Reset filesize loader state $("#hepdata_filesize_loader").addClass("hidden"); - $("filesize_table_confirm").removeClass("hidden"); - $("filesize_table_loading").addClass("hidden"); + $("#filesize_table_confirm").removeClass("hidden"); + $("#filesize_table_loading").addClass("hidden"); $("#filesize_table_loading_failed").addClass("hidden"); $("#hep_table").addClass("hidden");