mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
settings: Add "text" option to emoji_set model.
We no longer have a special UI setting and model
field ("emoji_alt_code") for saying users want text-only
emojis. We now instead make "text" be a fifth choice
for "emojiset".
Fixes #7406
This commit is contained in:
committed by
Steve Howell
parent
5ff84e97b5
commit
daf86eb664
@@ -820,7 +820,7 @@ exports.initialize = function () {
|
||||
preview_html = rendered_content;
|
||||
}
|
||||
$("#preview_content").html(preview_html);
|
||||
if (page_params.emoji_alt_code) {
|
||||
if (page_params.emojiset === "text") {
|
||||
$("#preview_content").find(".emoji").replaceWith(function () {
|
||||
var text = $(this).attr("title");
|
||||
return ":" + text + ":";
|
||||
|
||||
Reference in New Issue
Block a user