Skip to content

Commit

Permalink
[js] Fix invalid assignment to const iframeInternalModalClass.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocaccamo committed Jun 26, 2024
1 parent 26d6e37 commit 5a5b456
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a5b456

Please sign in to comment.