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