aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-30 01:20:51 -0800
committerMark Otto <[email protected]>2012-01-30 01:20:51 -0800
commitf4e5bc1c536f0e2bd77958dd5575863808d4cfe4 (patch)
tree9cdbbc64bd48c5bac65b12cd9daf29b569514da0 /js
parentdb31efb99587cea660ba5359665b4a6828d9f384 (diff)
downloadbootstrap-f4e5bc1c536f0e2bd77958dd5575863808d4cfe4.tar.xz
bootstrap-f4e5bc1c536f0e2bd77958dd5575863808d4cfe4.zip
namespace popover values
Diffstat (limited to 'js')
-rw-r--r--js/bootstrap-popover.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/bootstrap-popover.js b/js/bootstrap-popover.js
index 57864fc6e..35ff9d0ab 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 )