X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=js%2Fcrm.drupal.js;h=7ed33666e29a834c01870d5f18cf10c59f83b13b;hb=779af4a0f1b602f929edcf9e34c9120fa4ed4603;hp=2f14c499216e2e38bba0c202fc3a4d9b8cc9201d;hpb=222a33ae2f05a4da40bcbac3f7bed583a11341c6;p=civicrm-core.git diff --git a/js/crm.drupal.js b/js/crm.drupal.js index 2f14c49921..7ed33666e2 100644 --- a/js/crm.drupal.js +++ b/js/crm.drupal.js @@ -10,5 +10,13 @@ CRM.$(function($) { // D7 hack, restore toolbar position (CRM-15341) $('#toolbar').css('z-index', ''); } - }); + }) + // d8 Hack to hide title when it should be (CRM-19960) + .ready(function() { + var pageTitle = $('.page-title'); + var title = $('.page-title').text(); + if ('' == title) { + pageTitle.hide(); + } + }); });