From 8b1fff202b5b12e61a2ac6e0e40fb9b85da7850c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 26 Feb 2020 20:11:42 +0100 Subject: [PATCH] FIX option MAIN_OPTIMIZEFORTEXTBROWSER --- htdocs/main.inc.php | 70 ++++++++++++++++++++++++++------------------- 1 file changed, 40 insertions(+), 30 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index fe7ee39f6e8..8e05aa34ab8 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1841,40 +1841,50 @@ function top_menu_user() } else $appli .= " ".DOL_VERSION; - $btnUser = ' - '; + } else { + $btnUser = ' + '; + } if (!defined('JS_JQUERY_DISABLE_DROPDOWN') && !empty($conf->use_javascript_ajax)) // This may be set by some pages that use different jquery version to avoid errors {