MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 294: Line 294:


function matchHeaderText(force) {
function matchHeaderText(force) {
     $('table[cellpadding="5"][border="1"][style] tr:not(.dungeon-page-fields tr), .segment-header:not(.job-change-collapsible .segment-header)').each(function () {
     $('table[cellpadding="5"][border="1"][style] tr[style]:not(.dungeon-page-fields tr), .segment-header:not(.job-change-collapsible .segment-header)').each(function () {
         var rgb = $(this).css('backgroundColor');
         var rgb = $(this).css('backgroundColor');
         var colors = rgb.match(/\d+/g);
         var colors = rgb.match(/\d+/g);