diff options
| author | Jacob Thornton <[email protected]> | 2013-08-10 14:09:05 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2013-08-10 14:09:05 -0700 |
| commit | 1abb7947c2b24041efe02ae8e243e62e6afeb2c8 (patch) | |
| tree | 0e510e729a2966f36c66ad12dfedf745e68c1f4b /js/popover.js | |
| parent | 7998c45570dba841d92ab2071562221fa733fc6b (diff) | |
| download | bootstrap-1abb7947c2b24041efe02ae8e243e62e6afeb2c8.tar.xz bootstrap-1abb7947c2b24041efe02ae8e243e62e6afeb2c8.zip | |
fixes #9222
Diffstat (limited to 'js/popover.js')
| -rw-r--r-- | js/popover.js | 6 |
1 files changed, 1 insertions, 5 deletions
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 () { |
