diff --git a/modules/xerte/parent_templates/Nottingham/models_html5/media360.html b/modules/xerte/parent_templates/Nottingham/models_html5/media360.html index 370b3695f8..ecff9396de 100644 --- a/modules/xerte/parent_templates/Nottingham/models_html5/media360.html +++ b/modules/xerte/parent_templates/Nottingham/models_html5/media360.html @@ -60,8 +60,8 @@ // if this has been triggered from window.resize() called manually for video sizing then skip all this if (videoResize == true) { - if (parent.window.$.featherlight.current()) { - parent.window.$.featherlight.current().close(); + if (window.$.featherlight.current() != null) { + window.$.featherlight.current().close(); } var $panel = $("#pageContents .panel"); @@ -856,7 +856,9 @@ for (var i=0; i