From d7bd0481a579903824c79a268c1a251e900880af Mon Sep 17 00:00:00 2001 From: daitingting Date: Wed, 23 Nov 2022 02:28:34 +0000 Subject: [PATCH] * Disabled current mode button. --- module/custom/view/mode.html.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/module/custom/view/mode.html.php b/module/custom/view/mode.html.php index 693574ab8b..380ac74e1a 100644 --- a/module/custom/view/mode.html.php +++ b/module/custom/view/mode.html.php @@ -56,12 +56,14 @@ lang->custom->selectUsage;?> - - custom->useLight, "id='useLight' data-mode='light'", "btn btn-wide $primaryClass");?> + + + custom->useLight, "id='useLight' data-mode='light' $disabled", "btn btn-wide $primaryClass");?> - - custom->useALM, "id='useALM' data-mode='ALM'", "btn btn-wide $primaryClass");?> + + + custom->useALM, "id='useALM' data-mode='ALM' $disabled", "btn btn-wide $primaryClass");?>