Utente:Genuzzu/monobook.js: differenze tra le versioni

nessun oggetto della modifica
Nessun oggetto della modifica
Nessun oggetto della modifica
Riga 34:
voteTable[voteTable.i++] = { //quick hack: contatore direttamente nell'oggetto
text: $(this).find('tbody > tr:nth(0) > td > b').html(),
vote: (function($_this) {
var vote = 0;
var voteLis = $(this)_this.find('tbody > tr:nth(3) > td > ul > li');
console.log($(this));
var voteLis = $(this).find('tbody > tr:nth(3) > td > ul > li');
voteLis.each(function() {
alert(vote);
Line 43 ⟶ 42:
});
return vote / parseFloat(voteLis.length); //per farlo float uso parseFloat sul divisore
})($(this))
}
});
0

contributi