]> git.mxchange.org Git - friendica.git/commitdiff
Emojis are now added either in comments or starting posts - but not both
authorMichael <heluecht@pirati.ca>
Sat, 6 May 2023 21:46:40 +0000 (21:46 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 6 May 2023 21:46:40 +0000 (21:46 +0000)
view/templates/head.tpl
view/templates/jot.tpl

index ef1596e7b51c560fd93fe221243f9e4b87168db5..9087cea82e2a9416d4d427325d6b60b663729e31 100644 (file)
 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
index 52d95531d769bd7c93122bdfb8ce822203e23468..07824c6e32d351b4cd4db559185819fec2961223 100644 (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>