From e7ad0680bb8306e96e7911dc956e6958bfa01fdc Mon Sep 17 00:00:00 2001 From: Joshua Date: Thu, 21 Jul 2022 11:02:15 +1000 Subject: [PATCH] Mobile --- front/devices.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/front/devices.php b/front/devices.php index 9fd1aca9..9ae25575 100644 --- a/front/devices.php +++ b/front/devices.php @@ -247,13 +247,13 @@ function initializeDatatable () { 'columnDefs' : [ // Only display all collums on non mobile device width - still in testing phase - // if ($(window).width() < 400) { - // {visible: false, targets: [10,11,12,1,2,3,4,5,6,8] }, - // } - // else { - // {visible: false, targets: [10, 11, 12] }, - // } - {visible: false, targets: [10, 11, 12] }, + if ($(window).width() < 400) { + {visible: false, targets: [10,11,12,1,2,3,4,5,6,8] }, + } + else { + {visible: false, targets: [10, 11, 12] }, + } + // {visible: false, targets: [10, 11, 12] }, {className: 'text-center', targets: [3, 8, 9] }, {width: '80px', targets: [5, 6] }, {width: '0px', targets: 9 },