don't change allowed media types until we have media-tag scoping

pull/1/head
ansuz 8 years ago
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…
Cancel
Save