diff options
author | Mario <mario@mariovavti.com> | 2024-11-11 20:00:25 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-11-11 20:00:25 +0000 |
commit | ce9d67f7b17a3b8c6dde40bce83e4329d1e7cdc2 (patch) | |
tree | 5533643b7140f9ebc1792b81b020ba75fb497e48 /view/tpl | |
parent | d446f171c50b3d74b2f9865ccf17b535aaa38fe1 (diff) | |
download | volse-hubzilla-ce9d67f7b17a3b8c6dde40bce83e4329d1e7cdc2.tar.gz volse-hubzilla-ce9d67f7b17a3b8c6dde40bce83e4329d1e7cdc2.tar.bz2 volse-hubzilla-ce9d67f7b17a3b8c6dde40bce83e4329d1e7cdc2.zip |
fix click area in dropdown add/remove reaction
(cherry picked from commit 8268ed1ba7a995fd4559d277999ad5a482571eec)
Co-authored-by: Mario <mario@mariovavti.com>
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/conv_item.tpl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index 96e30f42d..c646387d7 100644 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -127,7 +127,7 @@ {{foreach $response.list as $liker}} {{$liker}} {{/foreach}} - </ul> + </ul> </div> <div class="modal-footer clear"> <button type="button" class="btn btn-outline-secondary" data-bs-dismiss="modal">{{$item.modal_dismiss}}</button> @@ -138,9 +138,7 @@ {{else}} <div class="dropdown-menu"> {{if $item.reactions_allowed && !($verb === 'announce' && $item.my_responses.$verb)}} {{** undo announce is not yet supported **}} - <div class="dropdown-item"> - <a href="#" class="text-reset" onclick="{{$response.button.onclick}}({{$item.id}},'{{$verb}}'); return false;">{{if $item.my_responses.$verb}}- {{$item.reaction_str.1}}{{else}}+ {{$item.reaction_str.0}}{{/if}}</a> - </div> + <a href="#" class="text-reset dropdown-item" onclick="{{$response.button.onclick}}({{$item.id}},'{{$verb}}'); return false;">{{if $item.my_responses.$verb}}- {{$item.reaction_str.1}}{{else}}+ {{$item.reaction_str.0}}{{/if}}</a> <div class="dropdown-divider"></div> {{/if}} {{foreach $response.list as $liker}}{{$liker}}{{/foreach}} |