Fix mediatag preview

This commit is contained in:
yflory 2020-04-20 18:19:21 +02:00
parent 22a2b85fae
commit 8896b2eae2

View File

@ -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);
});
}); });
} }