Skip to content

Commit e0886e8

Browse files
Update djangocms_alias/static/djangocms_alias/js/databridge.js
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
1 parent 79ef152 commit e0886e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangocms_alias/static/djangocms_alias/js/databridge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
}
2828

2929
const iframe = window.parent.document.querySelector('.cms-modal-frame > iframe');
30-
const CMS = window.parent.CMS;
30+
const {CMS} = window.parent;
3131

3232
// Register the event handler in the capture phase to increase the chance it runs first
3333
iframe.addEventListener('load', function (event) {

0 commit comments

Comments
 (0)