diff --git a/src/element.js b/src/element.js index 9e83df3..b6b70ec 100644 --- a/src/element.js +++ b/src/element.js @@ -56,7 +56,7 @@ Object.assign($.fn, { intoDocument = false } - if (mountPoint && !(mountPoint instanceof HTMLElement)) { + if (mountPoint && !(mountPoint instanceof window.HTMLElement)) { context = mountPoint mountPoint = null }