mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
Fix some css for the arrow of Popover/Tooltip + update documentation
This commit is contained in:
+3
-3
@@ -289,7 +289,9 @@ const Tooltip = (($) => {
|
||||
}
|
||||
},
|
||||
onCreate : (data) => {
|
||||
this._handlePopperPlacementChange(data)
|
||||
if (data.originalPlacement !== data.placement) {
|
||||
this._handlePopperPlacementChange(data)
|
||||
}
|
||||
},
|
||||
onUpdate : (data) => {
|
||||
this._handlePopperPlacementChange(data)
|
||||
@@ -644,10 +646,8 @@ const Tooltip = (($) => {
|
||||
}
|
||||
|
||||
_handlePopperPlacementChange(data) {
|
||||
if (data.originalPlacement !== data.placement) {
|
||||
this._cleanTipClass()
|
||||
this.addAttachmentClass(this._getAttachment(data.placement))
|
||||
}
|
||||
}
|
||||
|
||||
// static
|
||||
|
||||
Reference in New Issue
Block a user