We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b258a1f commit cb939e2Copy full SHA for cb939e2
dist/js/bootstrap.js
@@ -1499,10 +1499,10 @@ if (typeof jQuery === 'undefined') {
1499
this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)
1500
}
1501
1502
- Tooltip.prototype.replaceArrow = function (delta, dimension, isHorizontal) {
+ Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) {
1503
this.arrow()
1504
- .css(isHorizontal ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
1505
- .css(isHorizontal ? 'top' : 'left', '')
+ .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
+ .css(isVertical ? 'top' : 'left', '')
1506
1507
1508
Tooltip.prototype.setContent = function () {
0 commit comments