mirror of https://github.com/xwiki-labs/cryptpad
don't change allowed media types until we have media-tag scoping
This commit is contained in:
parent
678986dac4
commit
92d88d1644
|
@ -1235,7 +1235,6 @@ define([
|
|||
$img.attr('src', src);
|
||||
$img.attr('data-crypto-key', 'cryptpad:' + cryptKey);
|
||||
require(['/common/media-tag.js'], function (MediaTag) {
|
||||
MediaTag.CryptoFilter.setAllowedMediaTypes(common.avatarAllowedTypes);
|
||||
MediaTag($img[0]);
|
||||
var observer = new MutationObserver(function(mutations) {
|
||||
mutations.forEach(function(mutation) {
|
||||
|
|
Loading…
Reference in New Issue