From 78c76de4eab17d3201f13d4552ec704decccc3c2 Mon Sep 17 00:00:00 2001 From: LackFos Date: Thu, 23 Apr 2026 17:16:45 +0700 Subject: [PATCH] Fix: Table not responsive on resize --- js/dataTables.responsive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/dataTables.responsive.js b/js/dataTables.responsive.js index 5fc1bb6..d18cf03 100644 --- a/js/dataTables.responsive.js +++ b/js/dataTables.responsive.js @@ -124,7 +124,7 @@ $.extend(Responsive.prototype, { // Use DataTables' throttle function to avoid processor thrashing $(window).on( - 'orientationchange.dtr', + 'resize.dtr orientationchange.dtr', DataTable.util.throttle(function () { // iOS has a bug whereby resize can fire when only scrolling // See: http://stackoverflow.com/questions/8898412