aboutsummaryrefslogtreecommitdiff
path: root/js/tooltip.js
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2013-12-06 16:43:09 -0800
committerChris Rebert <[email protected]>2013-12-06 16:43:09 -0800
commit4be126e0142556805b59cb5a62d33c4a3fd2b8d4 (patch)
treee361eec9c929fcbdf308cd13d6cc1adfe87a19f8 /js/tooltip.js
parent650279f70388acb366f560fdcb03b048ec1dc318 (diff)
parent5e2ef69e1cc0ee62dfe1206f25030d1f89d9e50f (diff)
downloadbootstrap-4be126e0142556805b59cb5a62d33c4a3fd2b8d4.tar.xz
bootstrap-4be126e0142556805b59cb5a62d33c4a3fd2b8d4.zip
Merge pull request #11745 from XhmikosR/function-spaces
Be consistent with function () spaces
Diffstat (limited to 'js/tooltip.js')
-rw-r--r--js/tooltip.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tooltip.js b/js/tooltip.js
index 4c848f0e2..8debad96b 100644
--- a/js/tooltip.js
+++ b/js/tooltip.js
@@ -192,7 +192,7 @@
}
}
- Tooltip.prototype.applyPlacement = function(offset, placement) {
+ Tooltip.prototype.applyPlacement = function (offset, placement) {
var replace
var $tip = this.tip()
var width = $tip[0].offsetWidth
@@ -243,7 +243,7 @@
if (replace) $tip.offset(offset)
}
- Tooltip.prototype.replaceArrow = function(delta, dimension, position) {
+ Tooltip.prototype.replaceArrow = function (delta, dimension, position) {
this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + "%") : '')
}