Merge pull request #22229 from colemanw/searchKitExport
[civicrm-core.git] / ang / crmUi.js
index 16ef03f0ba84fe85a478872a635b9d1e4b47efb6..944630d4dbf8eb7a6c6b11b4b9508734243671ec 100644 (file)
           else {
             $(element).prepend('<span class="icon ui-icon-' + attrs.crmIcon + '"></span> ');
           }
-          if ($(element).is('button')) {
+          // Add crm-* class to non-bootstrap buttons
+          if ($(element).is('button:not(.btn)')) {
             $(element).addClass('crm-button');
           }
         }