diff --git a/js/crm.drupal.js b/js/crm.drupal.js index 2f14c499216e..7ed33666e29a 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(); + } + }); });