Emojis are now added either in comments or starting posts - but not both

pull/13097/head
Michael 2023-05-06 21:46:40 +00:00
parent 85408fe437
commit c064ebe231
2 changed files with 6 additions and 2 deletions

View File

@ -51,9 +51,13 @@
window.onload = function(){ window.onload = function(){
new EmojiPicker({ new EmojiPicker({
trigger: [ trigger: [
{
selector: '.emojis-post',
insertInto: ['#comment-edit-text-0', '#profile-jot-text']
},
{ {
selector: '.emojis', selector: '.emojis',
insertInto: ['#comment-edit-text-0', '#profile-jot-text', '.comment-edit-text-full'] insertInto: ['.comment-edit-text-full']
} }
], ],
closeButton: true closeButton: true

View File

@ -52,7 +52,7 @@
<a id="profile-nolocation" class="icon noglobe" title="{{$noloc}}" onclick="jotClearLocation();return false;"></a> <a id="profile-nolocation" class="icon noglobe" title="{{$noloc}}" onclick="jotClearLocation();return false;"></a>
</div> </div>
<div id="profile-emojis-wrapper" style="display: {{$visitor}};"> <div id="profile-emojis-wrapper" style="display: {{$visitor}};">
<a id="profile-emojis" class="icon icon-smile emojis" title="{{$edemojis}}"></a> <a id="profile-emojis" class="icon icon-smile emojis-post" title="{{$edemojis}}"></a>
</div> </div>
<div id="post-length"> <div id="post-length">
<span id="character-counter" class="grey"></span> <span id="character-counter" class="grey"></span>