some code cleanup
This commit is contained in:
parent
dacf004b36
commit
5d29f765e4
1 changed files with 3 additions and 3 deletions
|
@ -270,10 +270,10 @@
|
||||||
"createdRow": function( row, data, dataIndex ) {
|
"createdRow": function( row, data, dataIndex ) {
|
||||||
if ( data[5] == "TXing" ) {
|
if ( data[5] == "TXing" ) {
|
||||||
$(row).addClass('red');
|
$(row).addClass('red');
|
||||||
} else {
|
} else {
|
||||||
$(row).removeClass('red');
|
$(row).removeClass('red');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"order": [[ 0, "desc" ]],
|
"order": [[ 0, "desc" ]],
|
||||||
"columnDefs": [
|
"columnDefs": [
|
||||||
{ className: "dt-nowrap", "targets": [ 0, 1, 2, 3, 7 ] }
|
{ className: "dt-nowrap", "targets": [ 0, 1, 2, 3, 7 ] }
|
||||||
|
|
Loading…
Reference in a new issue