# HG changeset patch # User Sylvain Thénault # Date 1320226624 -3600 # Node ID c699f6edd0670b41a65c83156bdf71e68ce20a9f # Parent 27ab1649bd719d435648049d41d167b5d80ba9ab [js table sort] use lower cased tag names since HTML is case insensitive and XHTML is case sensitive and wants lower case tag names diff -r 27ab1649bd71 -r c699f6edd067 web/data/jquery.tablesorter.js --- 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;