changeset 8043 | c699f6edd067 |
parent 8003 | 7e240c04c69f |
child 8071 | 9ab3a9406473 |
--- a/web/data/jquery.tablesorter.js Wed Nov 02 10:33:50 2011 +0100 +++ b/web/data/jquery.tablesorter.js Wed Nov 02 10:37:04 2011 +0100 @@ -422,8 +422,8 @@ function computeTableHeaderCellIndexes(t) { var matrix = []; var lookup = {}; - var thead = t.getElementsByTagName('THEAD')[0]; - var trs = thead.getElementsByTagName('TR'); + var thead = t.getElementsByTagName('thead')[0]; + var trs = thead.getElementsByTagName('tr'); for (var i = 0; i < trs.length; i++) { var cells = trs[i].cells;