diff options
author | Mark Otto <markdotto@gmail.com> | 2012-01-30 13:20:51 +0400 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2012-01-30 13:20:51 +0400 |
commit | f4e5bc1c536f0e2bd77958dd5575863808d4cfe4 (patch) | |
tree | 9cdbbc64bd48c5bac65b12cd9daf29b569514da0 /js | |
parent | db31efb99587cea660ba5359665b4a6828d9f384 (diff) |
namespace popover values
Diffstat (limited to 'js')
-rw-r--r-- | js/bootstrap-popover.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/bootstrap-popover.js b/js/bootstrap-popover.js index 57864fc6e9..35ff9d0ab6 100644 --- a/js/bootstrap-popover.js +++ b/js/bootstrap-popover.js @@ -38,8 +38,8 @@ , title = this.getTitle() , content = this.getContent() - $tip.find('.title')[ $.type(title) == 'object' ? 'append' : 'html' ](title) - $tip.find('.content > *')[ $.type(content) == 'object' ? 'append' : 'html' ](content) + $tip.find('.popover-title')[ $.type(title) == 'object' ? 'append' : 'html' ](title) + $tip.find('.popover-content > *')[ $.type(content) == 'object' ? 'append' : 'html' ](content) $tip.removeClass('fade top bottom left right in') } @@ -89,7 +89,7 @@ $.fn.popover.defaults = $.extend({} , $.fn.tooltip.defaults, { placement: 'right' , content: '' - , template: '<div class="popover"><div class="arrow"></div><div class="inner"><h3 class="title"></h3><div class="content"><p></p></div></div></div>' + , template: '<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"><p></p></div></div></div>' }) }( window.jQuery ) |