From c064ebe2311f32d8293a0c8aa1c7609d37be178a Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 6 May 2023 21:46:40 +0000 Subject: [PATCH] Emojis are now added either in comments or starting posts - but not both --- view/templates/head.tpl | 6 +++++- view/templates/jot.tpl | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/view/templates/head.tpl b/view/templates/head.tpl index ef1596e7b5..9087cea82e 100644 --- a/view/templates/head.tpl +++ b/view/templates/head.tpl @@ -51,9 +51,13 @@ window.onload = function(){ new EmojiPicker({ trigger: [ + { + selector: '.emojis-post', + insertInto: ['#comment-edit-text-0', '#profile-jot-text'] + }, { selector: '.emojis', - insertInto: ['#comment-edit-text-0', '#profile-jot-text', '.comment-edit-text-full'] + insertInto: ['.comment-edit-text-full'] } ], closeButton: true diff --git a/view/templates/jot.tpl b/view/templates/jot.tpl index 52d95531d7..07824c6e32 100644 --- a/view/templates/jot.tpl +++ b/view/templates/jot.tpl @@ -52,7 +52,7 @@
- +