Fix mediatag preview

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

@ -284,11 +284,13 @@ define([
'data-crypto-key': key 'data-crypto-key': key
}); });
$inner.append(tag); $inner.append(tag);
setTimeout(function () {
MediaTag(tag).on('error', function () { MediaTag(tag).on('error', function () {
locked = false; locked = false;
$spinner.hide(); $spinner.hide();
UI.log(Messages.error); UI.log(Messages.error);
}); });
});
} }
var observer = new MutationObserver(function(mutations) { var observer = new MutationObserver(function(mutations) {

Loading…
Cancel
Save