dcavalca / centos / centos.org

Forked from centos/centos.org a month ago
Clone

Blame assets/js/script.min.js

48a802
$(document).ready((function(){$("#myTable tfoot th.searchable").each((function(){var t=$(this).text();$(this).html('<input type="text" placeholder="Search '+t+'" />')}));$("#myTable").DataTable({autoWidth:!1,initComplete:function(){this.api().columns().every((function(){var t=this;$("input",this.footer()).on("keyup change clear",(function(){t.search()!==this.value&&t.search(this.value).draw()}))}))}})}));