提交 ce9365b9 编写于 作者: C Catouse

* rename 'id' and 'cssClass' option to 'tip-id' and 'tip-class' for tooltip and popover.

上级 0661b699
......@@ -251,8 +251,8 @@
var $tip = this.tip()
var title = this.getTitle()
if(this.options.id) $tip.attr('id', this.options.id)
if(this.options.cssClass) $tip.addClass(this.options.cssClass)
if(this.options.tipId) $tip.attr('id', this.options.tipId)
if(this.options.tipClass) $tip.addClass(this.options.tipClass)
$tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
$tip.removeClass('fade in top bottom left right')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册