14 lines
225 B
JavaScript
14 lines
225 B
JavaScript
$(document).foundation();
|
|
|
|
(function() {
|
|
var tables = document.querySelectorAll('table.sortable');
|
|
var i = 0;
|
|
var len = tables.length;
|
|
|
|
if (len > 0) {
|
|
for (;i < len; i++) {
|
|
tsorter.create(tables[i], 1);
|
|
}
|
|
}
|
|
}());
|