1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-07 22:26:57 +02:00

Merge pull request #13593 from ResentedHook/master

Add tooltip self-reference to address #12320
This commit is contained in:
Chris Rebert
2014-05-23 14:33:19 -07:00
3 changed files with 22 additions and 0 deletions

View File

@@ -170,6 +170,7 @@
.detach()
.css({ top: 0, left: 0, display: 'block' })
.addClass(placement)
.data('bs.' + this.type, this)
this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)