MediaWiki:Common.js: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 484: Line 484:
     $('table > tbody > tr > th').each(function(){
     $('table > tbody > tr > th').each(function(){
         var bgc = this.style.backgroundColor;
         var bgc = this.style.backgroundColor;
         $(this).css({'backgroundImage': 'linear-gradient(to bottom, #eee, ' + bgc + ');'};
         $(this).css({'backgroundImage': 'linear-gradient(to bottom, #eee, ' + bgc + ');'});
     });
     });
});
});