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

Explicitly define parseInt radix

parent 0881392e
......@@ -169,7 +169,7 @@ function load_table_sorting() {
inverse = 1;
// handle colspan
if (th.attr('colspan')) {
thIndex += parseInt(th.attr('colspan')) - 1;
thIndex += parseInt(th.attr('colspan'), 10) - 1;
}
// skip empty cells and cells with icon (probably already processed)
if (th.text() != '' && th.find('span.ui-icon').length == 0) {
......
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