diff options
| author | Chris Rebert <[email protected]> | 2013-08-08 13:29:46 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2013-08-08 13:31:22 -0700 |
| commit | f86f6ee9555819468467d48387becf80c831d34f (patch) | |
| tree | dc862f8444b00ab9c8d20966e059ec7f0ada0005 /js | |
| parent | d3a26a5afeb3bdb2e116c822c1505b716e66dacb (diff) | |
| download | bootstrap-f86f6ee9555819468467d48387becf80c831d34f.tar.xz bootstrap-f86f6ee9555819468467d48387becf80c831d34f.zip | |
fix 'Calcuated' typo & run grunt; thanks @FagnerMartinsBrack
fixes typo introduced in 2b6ec389876fac116ae2a152e47be321632dd9ba
Diffstat (limited to 'js')
| -rw-r--r-- | js/tooltip.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tooltip.js b/js/tooltip.js index 8f2beedce..cd4ee50ed 100644 --- a/js/tooltip.js +++ b/js/tooltip.js @@ -179,7 +179,7 @@ .addClass(placement) } - var calculatedOffset = this.getCalcuatedOffset(placement, pos, actualWidth, actualHeight) + var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight) this.applyPlacement(calculatedOffset, placement) this.$element.trigger('shown.bs.' + this.type) @@ -292,7 +292,7 @@ }, this.$element.offset()) } - Tooltip.prototype.getCalcuatedOffset = function (placement, pos, actualWidth, actualHeight) { + 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 } : placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } : |
