aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSwaagie <[email protected]>2012-11-27 15:07:31 +0100
committerSwaagie <[email protected]>2012-11-27 15:07:31 +0100
commite6e4d93d5e9b991868341ca6086cdb498ce7ba71 (patch)
tree562a59df555ebe522127c4c236db15590beb4cd6
parent3b3dd3ac3c7b69d02406ede69bffcc4ee8a1ed6b (diff)
downloadbootstrap-e6e4d93d5e9b991868341ca6086cdb498ce7ba71.tar.xz
bootstrap-e6e4d93d5e9b991868341ca6086cdb498ce7ba71.zip
leave it to the developer to decide how to use the content of the popover
-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 0afe7ec3b..28138765f 100644
--- a/js/bootstrap-popover.js
+++ b/js/bootstrap-popover.js
@@ -44,7 +44,7 @@
, content = this.getContent()
$tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
- $tip.find('.popover-content > *')[this.options.html ? 'html' : 'text'](content)
+ $tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content)
$tip.removeClass('fade top bottom left right in')
}
@@ -97,7 +97,7 @@
placement: 'right'
, trigger: 'click'
, content: ''
- , 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>'
+ , template: '<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"></div></div></div>'
})
-}(window.jQuery); \ No newline at end of file
+}(window.jQuery);