diff --git a/templates/component_cards.html b/templates/component_cards.html index 86d3b55..097d3be 100755 --- a/templates/component_cards.html +++ b/templates/component_cards.html @@ -30,7 +30,8 @@
-
+ +
Demonstration Project - Children's Hospital of Philadelphia
@@ -45,8 +46,8 @@
- -
+ +
Demonstration Project - Lurie Children's
@@ -256,7 +257,8 @@
Tissue Mapping Center
-
+ +
TMC - Children's Hospital of Philadelphia
@@ -272,7 +274,8 @@
Tissue Mapping Center
-
+ +
TMC - Children's Hospital of Philadelphia Heart
diff --git a/templates/profile.html b/templates/profile.html index fea1abb..50cc2b7 100755 --- a/templates/profile.html +++ b/templates/profile.html @@ -44,6 +44,10 @@

HuBMAP User Profile Update

$("#id_component").change(function() { let id = $(this).children("option:selected").val(); + + // Remove the single quote + id = id.replaceAll("'", ""); + // All cards are hidden by default if (id === '----') { $("#active_card").html(''); diff --git a/templates/register.html b/templates/register.html index 443f7d6..aafb767 100755 --- a/templates/register.html +++ b/templates/register.html @@ -33,6 +33,10 @@

HuBMAP New User Registration

$("#id_component").change(function() { let id = $(this).children("option:selected").val(); + + // Remove the single quote + id = id.replaceAll("'", ""); + // All cards are hidden by default if (id === '----') { $("#active_card").html('');