1
0
Fork 0

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

This commit is contained in:
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(){
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

View file

@ -52,7 +52,7 @@
<a id="profile-nolocation" class="icon noglobe" title="{{$noloc}}" onclick="jotClearLocation();return false;"></a>
</div>
<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 id="post-length">
<span id="character-counter" class="grey"></span>