X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=js%2Fcrm.drupal.js;h=7ed33666e29a834c01870d5f18cf10c59f83b13b;hb=ac648bfc4c26c16eb7eac0e624f56c81f9e6f8b4;hp=2f14c499216e2e38bba0c202fc3a4d9b8cc9201d;hpb=21408e2ce520d3282efdaeb7637c55efc89b05a8;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(); + } + }); });