From f5f2076a2d5ec4d8229f168a9a3f66dc2d0bde6c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jakobus=20Sch=C3=BCrz?= Date: Tue, 14 Mar 2023 16:55:10 +0100 Subject: [PATCH] remove unused selector was there for historical reasons... :/ --- view/theme/frio/js/theme.js | 6 ------ 1 file changed, 6 deletions(-) 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){ -- 2.39.5