fix error
This commit is contained in:
parent
1819bd319a
commit
211d896298
|
@ -75,12 +75,16 @@ for ( var i = 0; i < $('tr[data-list="pd_title"]').length ; i++ ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$('.tab-pane table').each(function(){
|
||||||
$('.tab-pane table').DataTable({
|
if($(this).find('thead').length!=0 && $(this).find('td').length!=0 && !$(this).hasClass('dataTable')){
|
||||||
|
$(this).DataTable({
|
||||||
searching: false,
|
searching: false,
|
||||||
paging: false,
|
paging: false,
|
||||||
ordering: false,
|
ordering: false,
|
||||||
info: false,
|
info: false,
|
||||||
order: false
|
order: false,
|
||||||
|
autoWidth: false
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue