user-upload
3,547
回編集
(tablesorter(MediaWiki標準のではない)を使用してソートするように変更) |
(一部のページで無限ループに陥る問題を修正) |
||
46行目: | 46行目: | ||
$tfoot = $('<tfoot></tfoot>'), | $tfoot = $('<tfoot></tfoot>'), | ||
rows = this.tBodies[0].rows; | rows = this.tBodies[0].rows; | ||
while (rows) { | while (rows.length) { | ||
var $tr = $(rows[0]); | var $tr = $(rows[0]); | ||
if ($tr.children('td').length) break; | if ($tr.children('td').length) break; |