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:
authorJacob Thornton <jacobthornton@gmail.com>2011-12-21 07:37:41 +0400
committerJacob Thornton <jacobthornton@gmail.com>2011-12-21 07:37:41 +0400
commit0980a33b4703677e1aaf3cd949c0437512fa6f33 (patch)
treee7d2b1ac80580699d50c85c747d195d47be40ed6 /js/bootstrap-popover.js
parent1ef5fa7d6b4e50230c0c12919b0a06a9a2ac07f1 (diff)
update all to new on api + add animation support to tabs
Diffstat (limited to 'js/bootstrap-popover.js')
-rw-r--r--js/bootstrap-popover.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/js/bootstrap-popover.js b/js/bootstrap-popover.js
index a0495ce699..53edfc8c9d 100644
--- a/js/bootstrap-popover.js
+++ b/js/bootstrap-popover.js
@@ -63,8 +63,7 @@
, tip: function() {
if (!this.$tip) {
- this.$tip = $('<div class="popover" />')
- .html(this.options.template)
+ this.$tip = $(this.options.template)
}
return this.$tip
}
@@ -90,7 +89,7 @@
$.fn.popover.defaults = $.extend({} , $.fn.twipsy.defaults, {
placement: 'right'
, content: ''
- , template: '<div class="arrow"></div><div class="inner"><h3 class="title"></h3><div class="content"><p></p></div></div>'
+ , template: '<div class="popover"><div class="arrow"></div><div class="inner"><h3 class="title"></h3><div class="content"><p></p></div></div></div>'
})
}( window.jQuery ) \ No newline at end of file