X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=js%2Fcrm.drupal7.js;h=8dc539d5027927ac2505b432e85b3150be3499d7;hb=70f6eb83e5f966489dd6ae309a75c757965309b9;hp=facd7f1a095bd2ba857e139dfa7ce0dcf115fe81;hpb=ca25577719e55af6eed496cea7dffa2bbe2a0fc0;p=civicrm-core.git diff --git a/js/crm.drupal7.js b/js/crm.drupal7.js index facd7f1a09..8dc539d502 100644 --- a/js/crm.drupal7.js +++ b/js/crm.drupal7.js @@ -1,5 +1,5 @@ // http://civicrm.org/licensing -CRM.$(function($) { +(function($) { $(document) .on('dialogopen', function(e) { // D7 hack to get the toolbar out of the way (CRM-15341) @@ -11,7 +11,4 @@ CRM.$(function($) { $('#toolbar').css('z-index', ''); } }); - if ($('#toolbar a.toggle').length) { - $('#civicrm-menu').css({width: 'calc(100% - 40px)'}); - } -}); +})(CRM.$);