Merge branch 'staging' into cursor

This commit is contained in:
yflory committed 2018-11-12 11:51:17 +01:00
commit c64feae7bf
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ define([
module.main = function (userDoc, cb) {
var inner;
if (userDoc instanceof Element || userDoc instanceof HTMLElement) {
if (userDoc && userDoc.tagName) {
inner = userDoc;
} else {
try {