From dcca7cc3f6c05328bed8b9e756b3c47fb433deb6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 12 Mar 2024 02:54:05 +0100 Subject: [PATCH] Better support for MAIN_OPTIMIZEFORTEXTBROWSER --- htdocs/core/lib/functions.lib.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 8f81da32e56..7f6d39d0e29 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -2335,7 +2335,9 @@ function dol_get_fiche_head($links = array(), $active = '', $title = '', $notab $tabsname = str_replace("@", "", $picto); } $out .= '
'; - $out .= ''; // Do not use "reposition" class in the "More". + if (getDolGlobalInt('MAIN_OPTIMIZEFORTEXTBROWSER') < 2) { + $out .= ''; // Do not use "reposition" class in the "More". + } $out .= '
'; $out .= $outmore; $out .= '
';