Skip to content

Commit

Permalink
(less) Fixes twbs#7730: Better hiding of empty titles in popovers
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mdo committed Jun 20, 2013
1 parent 10a0b1a commit 1dac771
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions popovers.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1dac771

Please sign in to comment.