1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-04 02:09:23 +02:00

Include tabledata.js only once, before footer

This commit is contained in:
Afterster 2014-11-20 20:55:13 +01:00
parent d38345268e
commit cd53d38c51
13 changed files with 19 additions and 18 deletions

View file

@ -19,10 +19,15 @@
//
$(document).ready(function() {
if ($('.tabledata').mediaTable()) {
InitTableData();
});
function InitTableData()
{
if ($('.tabledata').mediaTable()) {
ResponsiveElements.init();
setTimeout(function() {
$('.tabledata').mediaTable('analyze');
}, 1);
}
});
}