diff --git a/pgwmodal.js b/pgwmodal.js index e04f9e3..651244c 100644 --- a/pgwmodal.js +++ b/pgwmodal.js @@ -117,6 +117,7 @@ // Check for Zepto if (typeof child.innerWidth != 'function') { + container.remove(); return 0; }