2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Add event after template inserted

This commit is contained in:
Johann-S
2015-03-24 20:47:35 +01:00
parent d37bc2ae65
commit 3d71eae301
5 changed files with 40 additions and 0 deletions
+1
View File
@@ -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