minor change
This commit is contained in:
parent
af3eea70f9
commit
09d739d3d4
|
@ -591,10 +591,11 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) {
|
||||||
i+=1
|
i+=1
|
||||||
let count = resultsInCantica.reduce((n, x) => n + (x === cantica), 0);
|
let count = resultsInCantica.reduce((n, x) => n + (x === cantica), 0);
|
||||||
//<span class="badge badge-primary badge-pill"></span>
|
//<span class="badge badge-primary badge-pill"></span>
|
||||||
var spanbadge=$('<span />');
|
var spanbadgecantica=$('<span />');
|
||||||
spanbadge.attr('class', 'badge badge-primary badge-pill');
|
spanbadgecantica.attr('class', 'badge badge-primary badge-pill');
|
||||||
spanbadge.append(count)
|
spanbadgecantica.append(count)
|
||||||
spanbadge.insertAfter($('#cantica'+i))
|
//spanbadgecantica.insertAfter($('#cantica'+i))
|
||||||
|
spanbadgecantica.appendTo($('#cantica'+i))
|
||||||
}
|
}
|
||||||
//aggiunge badge con totale risultati accanto ai canti
|
//aggiunge badge con totale risultati accanto ai canti
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue