mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-14 02:44:13 +00:00
Import upstream's emojify function in settings.js
This fixes updating the profile preview when changing display name.
This commit is contained in:
parent
ed69117048
commit
5e6cec4a40
|
@ -2,6 +2,7 @@
|
|||
|
||||
const { length } = require('stringz');
|
||||
const { delegate } = require('rails-ujs');
|
||||
import emojify from '../mastodon/features/emoji/emoji';
|
||||
|
||||
delegate(document, '#account_display_name', 'input', ({ target }) => {
|
||||
const nameCounter = document.querySelector('.name-counter');
|
||||
|
|
Loading…
Reference in a new issue