collection-crud/public/js/app.js

10 lines
163 B
JavaScript

$(document).foundation();
(function() {
var tables = document.getElementsByTagName('table');
if (tables.length > 0) {
tsorter.create(tables[0], 1);
}
}());