From 1ef562ec040df76b6625f155ac5223db756490eb Mon Sep 17 00:00:00 2001 From: reindertvetter Date: Wed, 1 Feb 2017 15:19:30 +0100 Subject: [PATCH] #230-do-not-interval-checkout-options --- skin/frontend/base/default/js/TIG/MyParcel2014/checkout.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skin/frontend/base/default/js/TIG/MyParcel2014/checkout.js b/skin/frontend/base/default/js/TIG/MyParcel2014/checkout.js index 485ed4cc..835a584f 100755 --- a/skin/frontend/base/default/js/TIG/MyParcel2014/checkout.js +++ b/skin/frontend/base/default/js/TIG/MyParcel2014/checkout.js @@ -114,9 +114,9 @@ var iframeDataLoaded, iframeLoaded, myParcelToggleOptions; */ resizeIframeHeight = function () { var iframe = mypajQuery('#myparcel-iframe'); - try { + if (iframe && iframe.contents().length > 0) { iframe.height(10).height(iframe.contents().height()); - } + } }; checkMyParcelMethod = function() {