]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
automatic grunt dist
authorBootstrap's Grunt bot <twbs-grunt@users.noreply.github.com>
Wed, 28 Jan 2015 01:02:34 +0000 (01:02 +0000)
committerBootstrap's Grunt bot <twbs-grunt@users.noreply.github.com>
Wed, 28 Jan 2015 01:02:34 +0000 (01:02 +0000)
dist/js/bootstrap.js

index 4139b6fc3bb3c3243abcb8c1b72d4db424e86512..829e82e2bfbe6ac673d8b2846240e4edd1240cc8 100644 (file)
@@ -1499,10 +1499,10 @@ if (typeof jQuery === 'undefined') {
     this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)
   }
 
-  Tooltip.prototype.replaceArrow = function (delta, dimension, isHorizontal) {
+  Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) {
     this.arrow()
-      .css(isHorizontal ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
-      .css(isHorizontal ? 'top' : 'left', '')
+      .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
+      .css(isVertical ? 'top' : 'left', '')
   }
 
   Tooltip.prototype.setContent = function () {