Fix export in the pad app with Chrome
This commit is contained in:
parent
4daa2266c0
commit
2a6945cbe5
@ -38,7 +38,7 @@ define([
|
|||||||
|
|
||||||
module.main = function (userDoc, cb) {
|
module.main = function (userDoc, cb) {
|
||||||
var inner;
|
var inner;
|
||||||
if (userDoc instanceof Element || userDoc instanceof HTMLElement) {
|
if (userDoc && userDoc.tagName) {
|
||||||
inner = userDoc;
|
inner = userDoc;
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user