remove unused selector

was there for historical reasons... :/
This commit is contained in:
Jakobus Schürz 2023-03-14 16:55:10 +01:00
parent c540b9275c
commit f5f2076a2d

View file

@ -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 {
$('<img>').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){