diff options
| author | Bootstrap's Grunt bot <[email protected]> | 2015-01-16 16:41:05 +0000 |
|---|---|---|
| committer | Bootstrap's Grunt bot <[email protected]> | 2015-01-16 16:41:05 +0000 |
| commit | b7c332f183d52c6b1432a4eb511b8c61478bfc81 (patch) | |
| tree | bf5b88fb6c6d43f89e0fafc0e1aa48fd4906edd2 | |
| parent | f6a96e78244304bc3ec564078100e15f2be79a8b (diff) | |
| download | bootstrap-b7c332f183d52c6b1432a4eb511b8c61478bfc81.tar.xz bootstrap-b7c332f183d52c6b1432a4eb511b8c61478bfc81.zip | |
automatic grunt dist
| -rw-r--r-- | dist/js/bootstrap.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js index ab0ae1e5b..705412c38 100644 --- a/dist/js/bootstrap.js +++ b/dist/js/bootstrap.js @@ -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 } } |
