mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-27 13:59:06 +02:00
Use consistent arrow class (#28105)
This commit is contained in:
committed by
XhmikosR
parent
049a500d18
commit
cbd333185e
@@ -60,7 +60,7 @@ const AttachmentMap = {
|
||||
const Default = {
|
||||
animation : true,
|
||||
template : '<div class="tooltip" role="tooltip">' +
|
||||
'<div class="arrow"></div>' +
|
||||
'<div class="tooltip-arrow"></div>' +
|
||||
'<div class="tooltip-inner"></div></div>',
|
||||
trigger : 'hover focus',
|
||||
title : '',
|
||||
@@ -103,7 +103,7 @@ const ClassName = {
|
||||
const Selector = {
|
||||
TOOLTIP : '.tooltip',
|
||||
TOOLTIP_INNER : '.tooltip-inner',
|
||||
ARROW : '.arrow'
|
||||
TOOLTIP_ARROW : '.tooltip-arrow'
|
||||
}
|
||||
|
||||
const Trigger = {
|
||||
@@ -302,7 +302,7 @@ class Tooltip {
|
||||
behavior: this.config.fallbackPlacement
|
||||
},
|
||||
arrow: {
|
||||
element: Selector.ARROW
|
||||
element: Selector.TOOLTIP_ARROW
|
||||
},
|
||||
preventOverflow: {
|
||||
boundariesElement: this.config.boundary
|
||||
|
Reference in New Issue
Block a user