1
0
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:
Peter Blazejewicz
2019-02-11 11:27:14 +01:00
committed by XhmikosR
parent 049a500d18
commit cbd333185e
7 changed files with 20 additions and 20 deletions

View File

@@ -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