diff options
author | Christian Vogeley <christian.vogeley@hotmail.de> | 2014-04-19 03:16:26 +0200 |
---|---|---|
committer | Christian Vogeley <christian.vogeley@hotmail.de> | 2014-04-19 03:16:26 +0200 |
commit | b9ffc2ef44965bf3cb58715ae74d93fbe14d9043 (patch) | |
tree | 410f437eedc669142a30590f3754e4d95493ba31 /view/tpl/conv_item.tpl | |
parent | 8f1dde701ab92d13a3037fc3987c495d66ae8918 (diff) | |
download | volse-hubzilla-b9ffc2ef44965bf3cb58715ae74d93fbe14d9043.tar.gz volse-hubzilla-b9ffc2ef44965bf3cb58715ae74d93fbe14d9043.tar.bz2 volse-hubzilla-b9ffc2ef44965bf3cb58715ae74d93fbe14d9043.zip |
Move javascript calls to button tag
because otherwise it didn’t work in Firefox
Diffstat (limited to 'view/tpl/conv_item.tpl')
-rwxr-xr-x | view/tpl/conv_item.tpl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index 20c426495..425151c82 100755 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -95,15 +95,15 @@ --> <div class="wall-item-tools-bs btn-group"> {{if $item.like}} - <button type="button" class="btn btn-default btn-sm"> - <i class="icon-thumbs-up-alt" title="{{$item.like.0}}" onclick="dolike({{$item.id}},'like'); return false"></i> + <button type="button" class="btn btn-default btn-sm" onclick="dolike({{$item.id}},'like'); return false"> + <i class="icon-thumbs-up-alt" title="{{$item.like.0}}"></i> </button>{{/if}} - {{if $item.dislike}}<button type="button" class="btn btn-default btn-sm"> - <i class="icon-thumbs-down-alt" title="{{$item.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></i> + {{if $item.dislike}}<button type="button" class="btn btn-default btn-sm" onclick="dolike({{$item.id}},'dislike'); return false"> + <i class="icon-thumbs-down-alt" title="{{$item.dislike.0}}"></i> </button>{{/if}} - {{if $item.drop.dropping}}<button type="button" class="btn btn-default btn-sm"> <a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" title="{{$item.drop.delete}}" ><i class="icon-remove drop-icons"></i></a></button>{{/if}} + {{if $item.drop.dropping}}<button type="button" class="btn btn-default btn-sm" onclick="return confirmDelete();"> <a href="item/drop/{{$item.id}}" title="{{$item.drop.delete}}" ><i class="icon-remove drop-icons"></i></a></button>{{/if}} <!-- {{if $item.star}} <button type="button" class="btn btn-default btn-sm"> |