diff options
| author | Mark Otto <[email protected]> | 2015-01-18 12:22:43 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-01-18 12:22:43 -0800 |
| commit | 22b79dae3c9307c329e6722ff1be8aa0a4143812 (patch) | |
| tree | f58208ecfff2a66ea13c559e036504527f24fc17 /docs/dist/js | |
| parent | bf69fbdf1fb669eb077b641a63011c8f80b91421 (diff) | |
| download | bootstrap-22b79dae3c9307c329e6722ff1be8aa0a4143812.tar.xz bootstrap-22b79dae3c9307c329e6722ff1be8aa0a4143812.zip | |
grunt
Diffstat (limited to 'docs/dist/js')
| -rw-r--r-- | docs/dist/js/bootstrap.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/dist/js/bootstrap.js b/docs/dist/js/bootstrap.js index ab0ae1e5b..705412c38 100644 --- a/docs/dist/js/bootstrap.js +++ b/docs/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 } } |
