Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSwaagie <info@martijnswaagman.nl>2012-11-27 18:07:31 +0400
committerSwaagie <info@martijnswaagman.nl>2012-11-27 18:07:31 +0400
commite6e4d93d5e9b991868341ca6086cdb498ce7ba71 (patch)
tree562a59df555ebe522127c4c236db15590beb4cd6 /js/bootstrap-popover.js
parent3b3dd3ac3c7b69d02406ede69bffcc4ee8a1ed6b (diff)
leave it to the developer to decide how to use the content of the popover
Diffstat (limited to 'js/bootstrap-popover.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 0afe7ec3b2..28138765f3 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);