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

index ab0ae1e5b930eae0a63dcc68e6ba2d4f3b279b76..705412c38a23f3667cfb82533f0f9f1dd18ebc15 100644 (file)
@@ -1573,10 +1573,10 @@ if (typeof jQuery === 'undefined') {
   }
 
   Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
-    return placement == 'bottom' ? { top: pos.top + pos.height,   left: pos.left + pos.width / 2 - actualWidth / 2  } :
-           placement == 'top'    ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2  } :
+    return placement == 'bottom' ? { top: pos.top + pos.height,   left: pos.left + pos.width / 2 - actualWidth / 2 } :
+           placement == 'top'    ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
            placement == 'left'   ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
-        /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width   }
+        /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
 
   }