ElEditors, Interface administrators, Administrators
70,866
edits
No edit summary |
No edit summary |
||
Line 363: | Line 363: | ||
var overflow_elems = chunk(cell, 8); | var overflow_elems = chunk(cell, 8); | ||
$(this).empty(); | $(this).empty(); | ||
for ( | for (var chunk of overflow_elems) { | ||
$(this).append('<div data-type="table-row">'); | $(this).append('<div data-type="table-row">'); | ||
$(this).find('[data-type="table-row"]:last').append(chunk); | $(this).find('[data-type="table-row"]:last').append(chunk); |