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:
parent
d38345268e
commit
cd53d38c51
13 changed files with 19 additions and 18 deletions
|
@ -19,10 +19,15 @@
|
|||
//
|
||||
|
||||
$(document).ready(function() {
|
||||
if ($('.tabledata').mediaTable()) {
|
||||
InitTableData();
|
||||
});
|
||||
|
||||
function InitTableData()
|
||||
{
|
||||
if ($('.tabledata').mediaTable()) {
|
||||
ResponsiveElements.init();
|
||||
setTimeout(function() {
|
||||
$('.tabledata').mediaTable('analyze');
|
||||
}, 1);
|
||||
}
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue