We can do the first child thing with CSS, no need to call any

javascript.
This commit is contained in:
dave 2010-07-14 18:09:23 +00:00
parent 994759d660
commit 74ecb60f90

View File

@ -71,10 +71,6 @@ function report_gen(id) {
/* Stuff to do after the document loads */
$(document).ready(function()
{
/* Do label/input styles on all edit tables */
$(".editor tr td:first-child").addClass('label');
$(".editor tr td:nth-child(2)").addClass('input');
/* Stripe tableviews */
$(".tableview tr:even").addClass('even');
$(".tableview tr:odd").addClass('odd');