Spaces:
Sleeping
Sleeping
charbelmalo
commited on
Commit
β’
81ad533
1
Parent(s):
c85c87e
Fix delete icon selector to target a specific icon in app.py
Browse files
app.py
CHANGED
@@ -146,7 +146,7 @@ def generate_cards_html(datafra):
|
|
146 |
}
|
147 |
|
148 |
function showDeleteIcons() {
|
149 |
-
const deleteIcons = document.querySelectorAll('[id
|
150 |
deleteIcons.forEach(icon => {
|
151 |
icon.style.display = 'block';
|
152 |
});
|
|
|
146 |
}
|
147 |
|
148 |
function showDeleteIcons() {
|
149 |
+
const deleteIcons = document.querySelectorAll('[id="delete-1"]');
|
150 |
deleteIcons.forEach(icon => {
|
151 |
icon.style.display = 'block';
|
152 |
});
|