ElEditors, Interface administrators, Administrators
70,866
edits
No edit summary |
No edit summary |
||
Line 315: | Line 315: | ||
$('.region-map img[alt="About this image"]').attr('src', 'https://elwiki.net/wiki/images/1/1f/UI_-_Help.png').show(); | $('.region-map img[alt="About this image"]').attr('src', 'https://elwiki.net/wiki/images/1/1f/UI_-_Help.png').show(); | ||
$('table[cellpadding="5"][border="1"][style] tr[style*="rgb(68, 68, 68)"] th').css('border-color', 'black') | $('table[cellpadding="5"][border="1"][style] tr[style*="rgb(68, 68, 68)"] th').css('border-color', 'black') | ||
}); | |||
docReady(function () { | |||
$('.related-skills td[width="150"]').each(function () { | $('.related-skills td[width="150"]').each(function () { | ||
Line 366: | Line 370: | ||
else limit = 8; | else limit = 8; | ||
var attempt = false; | var attempt = false; | ||
$(this).find('[data-type="table-row"]').each(function(){ | $(this).find('[data-type="table-row"]').each(function () { | ||
if ($(this).find('[data-type="table-cell"]').length > limit) attempt = true; | if ($(this).find('[data-type="table-cell"]').length > limit) attempt = true; | ||
}); | }); | ||
Line 380: | Line 384: | ||
$('.related-skills:not(.no-div)').addClass('shown'); | $('.related-skills:not(.no-div)').addClass('shown'); | ||