0
0
Fork 0

Change /admin/custom_emoji to honor the auto_play_gif setting (#11801)

Fixes #9535
This commit is contained in:
ThibG 2019-09-10 20:56:07 +02:00 committed by Eugen Rochko
parent 2b2b03a7da
commit 17389c63c8
2 changed files with 7 additions and 3 deletions

View file

@ -3,7 +3,7 @@
= f.check_box :custom_emoji_ids, { multiple: true, include_hidden: false }, custom_emoji.id
.batch-table__row__content.batch-table__row__content--with-image
.batch-table__row__content__image
= custom_emoji_tag(custom_emoji)
= custom_emoji_tag(custom_emoji, animate = current_account&.user&.setting_auto_play_gif)
.batch-table__row__content__text
%samp= ":#{custom_emoji.shortcode}:"