aboutsummaryrefslogtreecommitdiff
path: root/js/tooltip.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-12-15 14:10:48 -0800
committerMark Otto <[email protected]>2013-12-15 14:10:48 -0800
commit122245fe87bbd293a82ffa6b9c37d8b174b3dc0f (patch)
tree35679d94b5787a2ffaf712caa0fab3bf47dd8fa3 /js/tooltip.js
parent0fcaca86b57bf3a4fa2c8f709e90499c92e0db73 (diff)
parent55f6beb4278979155549e17da6e87a2548ec0b88 (diff)
downloadbootstrap-122245fe87bbd293a82ffa6b9c37d8b174b3dc0f.tar.xz
bootstrap-122245fe87bbd293a82ffa6b9c37d8b174b3dc0f.zip
Merge branch 'master' into pr/11676
Conflicts: less/modals.less
Diffstat (limited to 'js/tooltip.js')
-rw-r--r--js/tooltip.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/tooltip.js b/js/tooltip.js
index 4c848f0e2..7b10d43a2 100644
--- a/js/tooltip.js
+++ b/js/tooltip.js
@@ -19,7 +19,7 @@
* ======================================================================== */
-+function ($) { "use strict";
++function ($) { 'use strict';
// TOOLTIP PUBLIC CLASS DEFINITION
// ===============================
@@ -133,7 +133,7 @@
}
Tooltip.prototype.show = function () {
- var e = $.Event('show.bs.'+ this.type)
+ var e = $.Event('show.bs.' + this.type)
if (this.hasContent() && this.enabled) {
this.$element.trigger(e)
@@ -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,8 +243,8 @@
if (replace) $tip.offset(offset)
}
- Tooltip.prototype.replaceArrow = function(delta, dimension, position) {
- this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + "%") : '')
+ Tooltip.prototype.replaceArrow = function (delta, dimension, position) {
+ this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + '%') : '')
}
Tooltip.prototype.setContent = function () {