Make sure we don't try to get metadata for blobs
This commit is contained in:
1 parent
9de345044a
commit
4672bf794b
4 files changed
+12
-1
No files matched your search
@@ -59,8 +59,8 @@ define([
|
||||
}), opts.href);
|
||||
|
||||
// If this is a file, don't try to look for metadata
|
||||
if (opts.channel && opts.channel.length > 34) { return; }
|
||||
if (opts.channel) { data.channel = opts.channel; }
|
||||
if (!data.channel || data.channel.length > 32) { return; }
|
||||
Modal.loadMetadata(Env, data, waitFor);
|
||||
}).nThen(function () {
|
||||
cb(void 0, data);
|
||||
|
||||
Reference in new issue
Block a user