提交 3d73b532 编写于 作者: C Catouse

* popover support tipId and tipClass options.

上级 918d37c5
......@@ -75,6 +75,9 @@
$tip.removeClass('fade top bottom left right in')
if (this.options.tipId) $tip.attr('id', this.options.tipId)
if (this.options.tipClass) $tip.addClass(this.options.tipClass)
// 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()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册