diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-08-02 17:22:08 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-08-05 12:57:20 +0200 |
commit | 5e6cec4a40417fabeae750e9ede7615c07e000a2 (patch) | |
tree | 948294ae52bdcab8c2f1d721476bcb90d346960b /app/javascript | |
parent | ed6911704873de42b36f524d04a11caa00bb6ff8 (diff) |
Import upstream's emojify function in settings.js
This fixes updating the profile preview when changing display name.
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/core/settings.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/core/settings.js b/app/javascript/core/settings.js index 175a1758f..d727ca996 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'); |