MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
return artistStr; |
return artistStr; |
||
} |
} |
||
$(".semi-place").each(function() { |
|||
var classList = $(this).attr('class').split(/\s+/); |
|||
var place = parseInt($(this).text()); |
|||
var country = classList[1].split("-")[0] |
|||
var edition = parseInt(classList[1].split("-")[1]) |
|||
if ((edition === 1 && place <= 12) || (edition === 2 && place <= 10) || (edition >= 3 && place <= 7) || (edition === 11 && place === 8)) { |
|||
$("."+classList[1]+"-semi-style").css("background-color", "navajowhite").css("font-weight", "bold"); |
|||
} |
|||
}); |
|||
/* CONTEST RESULTS |
/* CONTEST RESULTS |