Emojis are now added either in comments or starting posts - but not both
This commit is contained in:
parent
85408fe437
commit
c064ebe231
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue