Fix 13 compatibility issues

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-10-09 17:41:09 +02:00
parent 43b5571315
commit 72fd0fcc9b
4 changed files with 16 additions and 4 deletions

View File

@@ -111,10 +111,10 @@ class ActivityController {
$target.on('inserted.atwho', function (je, $el) {
$(je.target).find(
'span[data-username="' + $el.find('[data-username]').data('username') + '"]'
).avatar();
).avatar(undefined, 16);
});
$target.on('shown.atwho', function (je) {
$target.find('.avatar').avatar();
$target.find('.avatar').avatar(undefined, 16);
});
}