diff --git a/package.json b/package.json index 0f4d6ba..ba19f04 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@a2nt/meta-lightbox", - "version": "2.3.5", + "version": "2.3.6", "description": "Universal Lightbox window", "main": "meta-lightbox.js", "author": "Tony Air ", diff --git a/src/js/meta-lightbox.js b/src/js/meta-lightbox.js index 4683e92..a3c91fe 100755 --- a/src/js/meta-lightbox.js +++ b/src/js/meta-lightbox.js @@ -505,12 +505,6 @@ const MetaLightboxUI = (($) => { static loadIframe(href, classTerm) { const ui = this; - // don't load on offline - if ($Body.hasClass('is-offline')) { - console.warn(`${NAME}: Unable to load iframe offline`); - return false; - } - const $iframe = $('