From 5a5b45608784f0f7a0574e3073dd1357dd89f5d4 Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Wed, 26 Jun 2024 18:00:04 +0200 Subject: [PATCH] [js] Fix invalid assignment to const `iframeInternalModalClass`. --- .../static/admin_interface/related-modal/related-modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_interface/static/admin_interface/related-modal/related-modal.js b/admin_interface/static/admin_interface/related-modal/related-modal.js index f844737a..2533e369 100644 --- a/admin_interface/static/admin_interface/related-modal/related-modal.js +++ b/admin_interface/static/admin_interface/related-modal/related-modal.js @@ -90,7 +90,7 @@ if (typeof(django) !== 'undefined' && typeof(django.jQuery) !== 'undefined') { } // the modal css class - const iframeInternalModalClass = 'related-modal'; + let iframeInternalModalClass = 'related-modal'; // if the current window is inside an iframe, it means that it is already in a modal, // append an additional css class to the modal to offer more customization