aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-11-11 19:53:20 +0000
committerMario <mario@mariovavti.com>2024-11-11 19:53:20 +0000
commit8268ed1ba7a995fd4559d277999ad5a482571eec (patch)
tree668eecdeb6dbccfee55cefc4ba5939d8d659dd2a
parent3bc0fd5db4267735e53b36c7da44bff3703b8906 (diff)
downloadvolse-hubzilla-8268ed1ba7a995fd4559d277999ad5a482571eec.tar.gz
volse-hubzilla-8268ed1ba7a995fd4559d277999ad5a482571eec.tar.bz2
volse-hubzilla-8268ed1ba7a995fd4559d277999ad5a482571eec.zip
fix click area in dropdown add/remove reaction
-rw-r--r--view/tpl/conv_item.tpl6
1 files changed, 2 insertions, 4 deletions
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl
index 21c0dd73d..9dd1077ab 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}}