We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cfcb4c3 + 43a3d9d commit fe6c992Copy full SHA for fe6c992
Resources/Public/JavaScript/ParentWindow.js
@@ -5,7 +5,8 @@ define([
5
const getParent = () => {
6
if (
7
typeof window.parent !== 'undefined' &&
8
- typeof window.parent.document.list_frame !== 'undefined' &&
+ typeof window.parent.frames !== 'undefined' &&
9
+ typeof window.parent.frames.list_frame !== 'undefined' &&
10
window.parent.frames.list_frame.parent.document.querySelector('.t3js-modal-iframe') !== null &&
11
window.parent.frames.list_frame.parent.document.querySelectorAll('.t3js-modal-iframe').length > 1
12
) {
0 commit comments