From 764c97011415e89caf77a297c9886d5a5359b17a Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Thu, 11 Aug 2022 19:36:34 +0100 Subject: [PATCH] Update modal IDs --- core/static/modal.js | 2 +- .../manage/threshold/irc/overview/modals/add-network.html | 4 ++-- core/templates/modals/drilldown.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/static/modal.js b/core/static/modal.js index 210a2cc..dd48b7a 100644 --- a/core/static/modal.js +++ b/core/static/modal.js @@ -1,5 +1,5 @@ // var modal = document.querySelector('.modal'); // assuming you have only 1 -var modal = document.getElementById("drilldown-modal"); +var modal = document.getElementById("modal"); var html = document.querySelector('html'); var elements = document.querySelectorAll('.modal-background'); diff --git a/core/templates/manage/threshold/irc/overview/modals/add-network.html b/core/templates/manage/threshold/irc/overview/modals/add-network.html index b3f310b..20602fc 100644 --- a/core/templates/manage/threshold/irc/overview/modals/add-network.html +++ b/core/templates/manage/threshold/irc/overview/modals/add-network.html @@ -2,7 +2,7 @@ {% load static %} -