aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/need-list/need-list.component.ts
diff options
context:
space:
mode:
authorbenal01 <bja4245@rit.edu>2025-03-24 10:38:40 -0400
committerbenal01 <bja4245@rit.edu>2025-03-24 10:38:40 -0400
commit1c1d3922e7eea35764ebab39b18172ed2c8c82d9 (patch)
tree5ea5605edd352634921e644b4a588598a0c5b782 /ufund-ui/src/app/components/need-list/need-list.component.ts
parenta05f6f0ab8dead76f937a2d7196fa005af0367fe (diff)
downloadJellySolutions-1c1d3922e7eea35764ebab39b18172ed2c8c82d9.tar.gz
JellySolutions-1c1d3922e7eea35764ebab39b18172ed2c8c82d9.tar.bz2
JellySolutions-1c1d3922e7eea35764ebab39b18172ed2c8c82d9.zip
better feedback using a <span>
Diffstat (limited to '')
-rw-r--r--ufund-ui/src/app/components/need-list/need-list.component.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/ufund-ui/src/app/components/need-list/need-list.component.ts b/ufund-ui/src/app/components/need-list/need-list.component.ts
index 8ae7370..0f86921 100644
--- a/ufund-ui/src/app/components/need-list/need-list.component.ts
+++ b/ufund-ui/src/app/components/need-list/need-list.component.ts
@@ -79,10 +79,10 @@ export class NeedListComponent {
}
changeText(id : number, text : string) {
- const label = document.getElementById('need-label-' + id);
- if (label) {
- label.innerHTML = text;
- }
+ const span = document.getElementById('hover-status-label-' + id);
+ if (span) {
+ span.innerHTML = ' ' + text;
+ }
}
add(need: Need) {