From 979e44c7063ff676e579a782da1480fec27d928d Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Tue, 11 Jul 2023 16:34:30 -0400 Subject: [PATCH] menubar: hide toggleButton when using Standalone --- js/crm.menubar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/crm.menubar.js b/js/crm.menubar.js index f6d1bb9cba..65fe533bf3 100644 --- a/js/crm.menubar.js +++ b/js/crm.menubar.js @@ -8,7 +8,7 @@ data: null, settings: {collapsibleBehavior: 'accordion'}, position: 'over-cms-menu', - toggleButton: true, + toggleButton: (CRM.config.userFramework != 'Standalone'), attachTo: (CRM.menubar && CRM.menubar.position === 'above-crm-container') ? '#crm-container' : 'body', initialize: function() { var cache = CRM.cache.get('menubar'); -- 2.25.1