From eb27db612849178c2d194583d8f11f84f7d0e5dc Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 21 Mar 2019 12:32:56 -0400 Subject: [PATCH] Fix menu restore link --- js/crm.menubar.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/js/crm.menubar.js b/js/crm.menubar.js index ad5fccbb3a..ad91a49e1b 100644 --- a/js/crm.menubar.js +++ b/js/crm.menubar.js @@ -115,15 +115,13 @@ .addClass('crm-menubar-hidden') .removeClass('crm-menubar-visible'); if (showMessage === true && $('#crm-notification-container').length && initialized) { - var alert = CRM.alert('' + _.escape(ts('Restore CiviCRM Menu')) + '', '', 'none', {expires: 10000}); + var alert = CRM.alert('' + _.escape(ts('Restore CiviCRM Menu')) + '', ts('Menu hidden'), 'none', {expires: 10000}); $('#crm-restore-menu') - .button({icons: {primary: 'fa-undo'}}) .click(function(e) { e.preventDefault(); alert.close(); CRM.menubar.show(speed); - }) - .parent().css('text-align', 'center').find('.ui-button-text').css({'padding-top': '4px', 'padding-bottom': '4px'}); + }); } }, open: function(itemName) { -- 2.25.1