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.
2 parents 592950c + ebedeaf commit b258a1fCopy full SHA for b258a1f
js/tooltip.js
@@ -272,10 +272,10 @@
272
this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)
273
}
274
275
- Tooltip.prototype.replaceArrow = function (delta, dimension, isHorizontal) {
+ Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) {
276
this.arrow()
277
- .css(isHorizontal ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
278
- .css(isHorizontal ? 'top' : 'left', '')
+ .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
+ .css(isVertical ? 'top' : 'left', '')
279
280
281
Tooltip.prototype.setContent = function () {
0 commit comments