aboutsummaryrefslogtreecommitdiff
path: root/js/tooltip.js
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2015-03-24 20:47:35 +0100
committerJohann-S <[email protected]>2015-04-08 13:10:53 +0200
commit3d71eae3011b10daa558baf494b019925fee5f60 (patch)
treee9388b7449a5ee14649c2640f172e1430a0ddef6 /js/tooltip.js
parentd37bc2ae651a4fc2fd4ca477ab5bdfaeba5aafde (diff)
downloadbootstrap-3d71eae3011b10daa558baf494b019925fee5f60.tar.xz
bootstrap-3d71eae3011b10daa558baf494b019925fee5f60.zip
Add event after template inserted
Diffstat (limited to 'js/tooltip.js')
-rw-r--r--js/tooltip.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/tooltip.js b/js/tooltip.js
index 27367880f..6978e396b 100644
--- a/js/tooltip.js
+++ b/js/tooltip.js
@@ -185,6 +185,7 @@
.data('bs.' + this.type, this)
this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
+ this.$element.trigger('inserted.bs.' + this.type)
var pos = this.getPosition()
var actualWidth = $tip[0].offsetWidth