Index: trunk/phase3/skins/common/wikibits.js |
— | — | @@ -638,12 +638,12 @@ |
639 | 639 | |
640 | 640 | var arrowHTML; |
641 | 641 | if (reverse) { |
642 | | - arrowHTML = '<img src="'+ ts_image_path + ts_image_down + '" alt="↓"/>'; |
643 | | - newRows.reverse(); |
644 | | - span.setAttribute('sortdir','up'); |
| 642 | + arrowHTML = '<img src="'+ ts_image_path + ts_image_down + '" alt="↓"/>'; |
| 643 | + newRows.reverse(); |
| 644 | + span.setAttribute('sortdir','up'); |
645 | 645 | } else { |
646 | | - arrowHTML = '<img src="'+ ts_image_path + ts_image_up + '" alt="↑"/>'; |
647 | | - span.setAttribute('sortdir','down'); |
| 646 | + arrowHTML = '<img src="'+ ts_image_path + ts_image_up + '" alt="↑"/>'; |
| 647 | + span.setAttribute('sortdir','down'); |
648 | 648 | } |
649 | 649 | |
650 | 650 | // We appendChild rows that already exist to the tbody, so it moves them rather than creating new ones |