remove reminder for deleting rotators in tpl

This commit is contained in:
Jakobus Schürz 2023-03-11 13:14:30 +01:00
parent 225e2124cc
commit bd2cd8dd4c

View file

@ -776,8 +776,6 @@ function doActivityItemAction(ident, verb, un) {
case 'announce': case 'announce':
thumbsClass = 'fa-retweet'; thumbsClass = 'fa-retweet';
} }
// remindert to remove the like-rotator from templates
//$('#like-rotator-' + ident.toString()).show();
if (verb.indexOf('announce') === 0 ) { if (verb.indexOf('announce') === 0 ) {
// Share-Button(s) // Share-Button(s)
// remove share-symbol, to replace it by rotator // remove share-symbol, to replace it by rotator
@ -858,8 +856,6 @@ function doActivityItemAction(ident, verb, un) {
}) })
.error(function(data){ .error(function(data){
/* Server could not be reaches successfully */ /* Server could not be reaches successfully */
// remindert to remove the like-rotator from templates
//$('#like-rotator-' + ident.toString()).hide();
$('img[id^=waitfor-' + verb + '-' + ident.toString() + ']').remove(); $('img[id^=waitfor-' + verb + '-' + ident.toString() + ']').remove();
$('button[id^=shareMenuOptions-' + ident.toString() + '] i:first-child').addClass('fa-share'); $('button[id^=shareMenuOptions-' + ident.toString() + '] i:first-child').addClass('fa-share');
$('button[id^=' + verb + '-' + ident.toString() + '] i:first-child').addClass(thumbsClass); $('button[id^=' + verb + '-' + ident.toString() + '] i:first-child').addClass(thumbsClass);