Skip to content

Commit 76502a6

Browse files
committed
Dev: Looking at what is involved for using Cash as a jQuery replacement
fabiospampinato/cash#356 Sync to source repo @4e057f02a6f06f6e04bfd9b5a0d63c8281b1a597
1 parent 7907983 commit 76502a6

File tree

3 files changed

+61
-61
lines changed

3 files changed

+61
-61
lines changed

datatables.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
"js/jquery.dataTables.min.js"
66
],
77
"src-repo": "http://github.com/DataTables/DataTablesSrc",
8-
"last-sync": "bfed98dfc77da69c764a98244cb04b2121359d67",
8+
"last-sync": "4e057f02a6f06f6e04bfd9b5a0d63c8281b1a597",
99
"last-tag": "1.10.21"
1010
}

js/jquery.dataTables.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3279,11 +3279,11 @@
32793279
}
32803280

32813281
/* ARIA role for the rows */
3282-
$(thead).find('>tr').attr('role', 'row');
3282+
$(thead).children('tr').attr('role', 'row');
32833283

32843284
/* Deal with the footer - add classes if required */
3285-
$(thead).find('>tr>th, >tr>td').addClass( classes.sHeaderTH );
3286-
$(tfoot).find('>tr>th, >tr>td').addClass( classes.sFooterTH );
3285+
$(thead).children('tr').children('th, td').addClass( classes.sHeaderTH );
3286+
$(tfoot).children('tr').children('th, td').addClass( classes.sFooterTH );
32873287

32883288
// Cache the footer cells. Note that we only take the cells from the first
32893289
// row in the footer. If there is more than one row the user wants to

0 commit comments

Comments
 (0)