From 1dac7712c746c570b7fe81b0abc659bd1c40e6bc Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 20 Jun 2013 16:01:59 -0700 Subject: [PATCH] (less) Fixes #7730: Better hiding of empty titles in popovers If the popover's title contains no text, hide it via JS. Previously was done via CSS's `:empty` property, but that doesn't work in IE8, so JS it is. /cc @fat becaue I probably did this wrong <3 --- popovers.less | 4 ---- 1 file changed, 4 deletions(-) diff --git a/popovers.less b/popovers.less index b3399fa34fb1..bcd30e919828 100644 --- a/popovers.less +++ b/popovers.less @@ -40,10 +40,6 @@ background-color: @popover-title-bg; border-bottom: 1px solid darken(@popover-title-bg, 5%); border-radius: 5px 5px 0 0; - - &:empty { - display: none; - } } .popover-content {