From 2db6bf23ebf0c36dfb762013a050d9a305bea0af Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Thu, 7 May 2020 21:15:26 +0200 Subject: [PATCH] refactoring --- lam/lib/html.inc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lam/lib/html.inc b/lam/lib/html.inc index 5acfeb49..8f196be9 100644 --- a/lam/lib/html.inc +++ b/lam/lib/html.inc @@ -4775,14 +4775,6 @@ class htmlResponsiveInputCheckbox extends htmlInputCheckbox { $tabletColumnsLabel = 10; $tabletColumnsBox = 2; } - if ($this->labelAfterCheckbox) { - $tmp = $mobileColumnsLabel; - $mobileColumnsLabel = $mobileColumnsLabel; - $mobileColumnsBox = $mobileColumnsLabel; - $tmp = $tabletColumnsLabel; - $tabletColumnsLabel = $tabletColumnsBox; - $tabletColumnsBox = $tabletColumnsLabel; - } // label text $text = new htmlSpan(new htmlOutputText($this->label)); $text->setOnclick('jQuery(\'#' . $this->name . '\').prop(\'checked\',!jQuery(\'#' . $this->name . '\').prop(\'checked\')); jQuery(\'#' . $this->name . '\').change();');