From 1abb7947c2b24041efe02ae8e243e62e6afeb2c8 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sat, 10 Aug 2013 14:09:05 -0700 Subject: fixes #9222 --- js/popover.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'js/popover.js') diff --git a/js/popover.js b/js/popover.js index 24b85715f..ecd37ac23 100644 --- a/js/popover.js +++ b/js/popover.js @@ -58,13 +58,9 @@ $tip.removeClass('fade top bottom left right in') - // Hide empty titles - // // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do // this manually by checking the contents. - if ($tip.find('.popover-title').html() === '') { - $tip.find('.popover-title').hide(); - } + if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide() } Popover.prototype.hasContent = function () { -- cgit v1.2.3