Commit 7dbf8495 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor bug fix; we have some tables with <tr></tr> rows to add a little

more space, but this confuses sorttable, so avoid confusion (and an
undefined variable).
parent 6b0eeeb9
......@@ -202,6 +202,8 @@ sorttable = {
// this is *not* a generic getInnerText function; it's special to sorttable.
// for example, you can override the cell text with a customkey attribute.
// it also gets .value for <input> fields.
if (! node)
return '';
hasInputs = (typeof node.getElementsByTagName == 'function') &&
node.getElementsByTagName('input').length;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment