X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=ang%2FcrmUi.js;h=ecfe172a99c837a8f2c2919ad9a4881e26e45048;hb=f6cecca82b633c59425f51d27f7ae0db689233fc;hp=d3ea3a469c6f3f2efdb7c9e1bc31928089e01234;hpb=d17117867eea4526042c4bb3cf7ef9122365c720;p=civicrm-core.git diff --git a/ang/crmUi.js b/ang/crmUi.js index d3ea3a469c..ecfe172a99 100644 --- a/ang/crmUi.js +++ b/ang/crmUi.js @@ -1011,7 +1011,7 @@ // If the CMS has already added title markup to the page, use it $('h1').not('.crm-container h1').each(function() { if (_.trim($(this).html()) === pageTitle) { - $(this).html(newPageTitle); + $(this).addClass('crm-page-title').html(newPageTitle); $el.hide(); } });