Merge pull request #13787 from eileenmcnaughton/label_button
[civicrm-core.git] / js / crm.drupal7.js
index 4be65e41065e27201a0c8fb9245bb3dec818b5a2..8dc539d5027927ac2505b432e85b3150be3499d7 100644 (file)
@@ -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,5 +11,4 @@ CRM.$(function($) {
         $('#toolbar').css('z-index', '');
       }
     });
-    $('#civicrm-menu').css({'width': '97%'});
-});
+})(CRM.$);