summaryrefslogtreecommitdiffstats
path: root/web_src/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/index.js')
-rw-r--r--web_src/js/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index 1b096a31de..0a0cb12932 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -2959,8 +2959,8 @@ $(() => {
function showDeletePopup() {
const $this = $(this);
let filter = '';
- if ($this.attr('id')) {
- filter += `#${$this.attr('id')}`;
+ if ($this.attr('modal-id')) {
+ filter += `#${$this.attr('modal-id')}`;
}
const dialog = $(`.delete.modal${filter}`);