Fix mediatag preview

pull/1/head
yflory 5 years ago
parent 22a2b85fae
commit 8896b2eae2

@ -284,10 +284,12 @@ define([
'data-crypto-key': key 'data-crypto-key': key
}); });
$inner.append(tag); $inner.append(tag);
MediaTag(tag).on('error', function () { setTimeout(function () {
locked = false; MediaTag(tag).on('error', function () {
$spinner.hide(); locked = false;
UI.log(Messages.error); $spinner.hide();
UI.log(Messages.error);
});
}); });
} }

Loading…
Cancel
Save