aboutsummaryrefslogtreecommitdiff
path: root/docs/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorHeinrich Fenkart <[email protected]>2014-10-22 21:39:37 +0200
committerHeinrich Fenkart <[email protected]>2014-10-22 21:39:37 +0200
commit40c309b39aae2620ac501447f59eed23612e72fd (patch)
treea482399bd94b78d3e9a9409e5e2c96e32e691ed5 /docs/dist/js/bootstrap.js
parent95e0f48e3a2b2f002ef50f34bb1559f8765fe262 (diff)
downloadbootstrap-40c309b39aae2620ac501447f59eed23612e72fd.tar.xz
bootstrap-40c309b39aae2620ac501447f59eed23612e72fd.zip
grunt
Diffstat (limited to 'docs/dist/js/bootstrap.js')
-rw-r--r--docs/dist/js/bootstrap.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/dist/js/bootstrap.js b/docs/dist/js/bootstrap.js
index dbe1d921f..7f405c202 100644
--- a/docs/dist/js/bootstrap.js
+++ b/docs/dist/js/bootstrap.js
@@ -1328,10 +1328,10 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
var $container = this.options.container ? $(this.options.container) : this.$element.parent()
var containerDim = this.getPosition($container)
- placement = placement == 'bottom' && pos.top + pos.height + actualHeight - containerDim.scroll > containerDim.height ? 'top' :
- placement == 'top' && pos.top - containerDim.scroll - actualHeight < containerDim.top ? 'bottom' :
- placement == 'right' && pos.right + actualWidth > containerDim.width ? 'left' :
- placement == 'left' && pos.left - actualWidth < containerDim.left ? 'right' :
+ placement = placement == 'bottom' && pos.bottom + actualHeight > containerDim.bottom ? 'top' :
+ placement == 'top' && pos.top - actualHeight < containerDim.top ? 'bottom' :
+ placement == 'right' && pos.right + actualWidth > containerDim.width ? 'left' :
+ placement == 'left' && pos.left - actualWidth < containerDim.left ? 'right' :
placement
$tip