From 5e6cec4a40417fabeae750e9ede7615c07e000a2 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Thu, 2 Aug 2018 17:22:08 +0200 Subject: [PATCH] Import upstream's emojify function in settings.js This fixes updating the profile preview when changing display name. --- app/javascript/core/settings.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/core/settings.js b/app/javascript/core/settings.js index 175a1758fb..d727ca996d 100644 --- a/app/javascript/core/settings.js +++ b/app/javascript/core/settings.js @@ -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');