Commit bcda85df authored by Michal Čihař's avatar Michal Čihař

Make table sorter loading idempotent

parent bacbe411
......@@ -129,6 +129,9 @@ function load_table_sorting() {
if (th.text() == '') {
return;
}
if (th.find('span.ui-icon').length > 0) {
return;
}
// Second column contains percent with colspan
if (thIndex >= 1 && !table.hasClass('simple')) {
thIndex += 1;
......
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