collection-crud/public/js/app.js

14 lines
225 B
JavaScript
Raw Normal View History

2017-11-10 09:03:20 -05:00
$(document).foundation();
(function() {
2022-10-07 16:04:56 -04:00
let tables = document.querySelectorAll('table.sortable');
let i = 0;
let len = tables.length;
2017-11-10 09:03:20 -05:00
2018-07-18 11:35:27 -04:00
if (len > 0) {
for (;i < len; i++) {
tsorter.create(tables[i], 1);
}
2017-11-10 09:03:20 -05:00
}
}());