From 687bb3b261d887b994fccccce1cdd7fd500ee819 Mon Sep 17 00:00:00 2001 From: Ernani Azevedo Date: Thu, 30 Mar 2017 10:58:45 -0300 Subject: [PATCH] Update custom.js Added call to every dataTable table on the page to redraw at sidebar toggle. --- src/js/custom.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/custom.js b/src/js/custom.js index 70df8f3f..852fb2ee 100644 --- a/src/js/custom.js +++ b/src/js/custom.js @@ -68,6 +68,8 @@ $(document).ready(function() { $BODY.toggleClass('nav-md nav-sm'); setContentHeight(); + + $('.dataTable').each ( function () { $(this).dataTable().fnDraw(); }); }); // check active menu