Fix error when importing wrong format

pull/1/head
yflory 4 years ago
parent df8785e79d
commit b7c2858c30

@ -712,7 +712,9 @@ define([
return; return;
} }
nThen(function (waitFor) { nThen(function (waitFor) {
contentUpdate(fi(c, f), waitFor); var content = fi(c, f);
if (typeof(content) === "undefined") { return; }
contentUpdate(content, waitFor);
}).nThen(function () { }).nThen(function () {
onLocal(); onLocal();
}); });

Loading…
Cancel
Save