Fix mediatag preview

This commit is contained in:
yflory committed 2020-04-20 18:19:21 +02:00
1 parent 22a2b85fae
commit 8896b2eae2
1 file changed
+2
+2
View File
@@ -284,11 +284,13 @@ define([
'data-crypto-key': key
});
$inner.append(tag);
setTimeout(function () {
MediaTag(tag).on('error', function () {
locked = false;
$spinner.hide();
UI.log(Messages.error);
});
});
}
var observer = new MutationObserver(function(mutations) {