25,162
edits
No edit summary |
No edit summary |
||
(20 intermediate revisions by 2 users not shown) | |||
Line 69: | Line 69: | ||
var rows = $('[class^="colortable-"] td b:contains("' + rowContent + '")'); | var rows = $('[class^="colortable-"] td b:contains("' + rowContent + '")'); | ||
rows.each(function () { | rows.each(function () { | ||
const textContent = $(this).parents('td')[0].textContent.trim(); | |||
if (textContent == rowContent) $(this).parent().addClass('tone-4'); | |||
}) | }) | ||
}) | }) | ||
Line 499: | Line 500: | ||
} | } | ||
} | } | ||
//Fix height issue with ads | |||
var HeightFix = $("#mw-content-block"); | |||
//$("#mw-related-navigation").css("min-height", HeightFix.height()); | |||
$("#mw-related-navigation").attr("style", "min-height: " + HeightFix.height() + "px !important"); | |||
//Get Ad Dart Number | //Get Ad Dart Number |