diff options
author | benal01 <bja4245@rit.edu> | 2025-03-24 10:38:40 -0400 |
---|---|---|
committer | benal01 <bja4245@rit.edu> | 2025-03-24 10:38:40 -0400 |
commit | 1c1d3922e7eea35764ebab39b18172ed2c8c82d9 (patch) | |
tree | 5ea5605edd352634921e644b4a588598a0c5b782 /ufund-ui/src/app/components/need-list/need-list.component.ts | |
parent | a05f6f0ab8dead76f937a2d7196fa005af0367fe (diff) | |
download | JellySolutions-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.ts | 8 |
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) { |