mirror of
https://github.com/twbs/bootstrap.git
synced 2025-07-30 18:30:30 +02:00
Add tooltip self-reference to address #12320
primarily adds a data- attribute to the tooltip (and thus, the popover) to create a self-reference.
This commit is contained in:
@@ -166,6 +166,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)
|
||||
|
||||
|
Reference in New Issue
Block a user