From: Jakobus Schürz Date: Tue, 14 Mar 2023 15:55:10 +0000 (+0100) Subject: remove unused selector X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f5f2076a2d5ec4d8229f168a9a3f66dc2d0bde6c;p=friendica.git remove unused selector was there for historical reasons... :/ --- diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index d1ec22c5bc..3ae76dbf55 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -788,8 +788,6 @@ function doActivityItemAction(ident, verb, un) { .attr({id: 'waitfor-' + verb + '-' + ident.toString(), src: 'images/rotator.gif'}) .addClass('fa') .appendTo($('button[id^=shareMenuOptions-' + ident.toString() + '] i:first-child' )); - } else { - $('').attr({id: 'waitfor-' + verb + '-' + ident.toString(), src: 'images/rotator.gif'}) } } $('button[id^=' + verb + '-' + ident.toString() + '] i:first-child').removeClass(thumbsClass); @@ -799,11 +797,7 @@ function doActivityItemAction(ident, verb, un) { .attr({id: 'waitfor-' + verb + '-' + ident.toString(), src: 'images/rotator.gif'}) .addClass('fa') .appendTo($('button[id^=' + verb + '-' + ident.toString() + '] i:first-child')); - } else { - // show existing rotator for activity - $('img[id^=waitfor-' + verb + '-' + ident.toString() + ']') } - // do request for activity $.post('item/' + ident.toString() + '/activity/' + _verb) .success(function(data){