ElEditors, Interface administrators, Administrators
85,546
edits
mNo edit summary |
mNo edit summary |
||
Line 475: | Line 475: | ||
$(function(){ | $(function(){ | ||
var headerList = $('table > tbody > tr').has('th'); | var headerList = $('table > tbody > tr').has('th'); | ||
var rainbowList = $('table > tbody > tr[style*=rainbow]'); | var rainbowList = $('table > tbody > tr[style*=rainbow]'); | ||
headerList = headerList.filter( | headerList = headerList.filter(function(e){ | ||
headerList = headerList.filter( | retune !($(this).has('td')); | ||
}); | |||
headerList = headerList.filter(function(e){ | |||
return !($(this).inArray(rainbowList)); | |||
headerList.each(function(){ | headerList.each(function(){ | ||
var bgc = $(this).css('background-color'); | var bgc = $(this).css('background-color'); |