From 225e2124cc3a325b4188b8569a0a479fabf83987 Mon Sep 17 00:00:00 2001 From: xundeenergie Date: Sat, 11 Mar 2023 13:11:48 +0100 Subject: [PATCH] Update view/theme/frio/js/theme.js in this case, the img[id^=waitfor... .show() shows existing image-containers. All of them which exist. Because there can be more than one. And this filter just shows them. adding another rotator with your suggestion can lead to 2 or more rotators on a button. Co-authored-by: Hypolite Petovan --- view/theme/frio/js/theme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index f40c8d3069..a1501f1381 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -791,7 +791,7 @@ function doActivityItemAction(ident, verb, un) { .addClass('fa') .appendTo($('button[id^=shareMenuOptions-' + ident.toString() + '] i:first-child' )).show(); } else { - $('img[id^=waitfor-' + verb + '-' + ident.toString() + ']').show() + $('').attr({id: 'waitfor-' + verb + '-' + ident.toString(), src: 'images/rotator.gif'}) } } $('button[id^=' + verb + '-' + ident.toString() + '] i:first-child').removeClass(thumbsClass); -- 2.39.5