aboutsummaryrefslogtreecommitdiff
path: root/js/tooltip.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-12-11 22:39:03 -0800
committerMark Otto <[email protected]>2013-12-11 22:39:03 -0800
commit4fc2907723e7f7bb5b14eb5cec94d629b6834e7f (patch)
treea9c1df41fbf5f912234f762f03668ea4ef9fd2b7 /js/tooltip.js
parent0e8baab34ae21c813afb9d8c24b3cb2105aebc46 (diff)
parent9966d035cd35c510369286cbb645340bdd6ffc95 (diff)
downloadbootstrap-4fc2907723e7f7bb5b14eb5cec94d629b6834e7f.tar.xz
bootstrap-4fc2907723e7f7bb5b14eb5cec94d629b6834e7f.zip
Merge branch 'master' into docs_derp
Conflicts: docs-assets/css/docs.css docs-assets/js/application.js
Diffstat (limited to 'js/tooltip.js')
-rw-r--r--js/tooltip.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/js/tooltip.js b/js/tooltip.js
index 9e6177554..7b10d43a2 100644
--- a/js/tooltip.js
+++ b/js/tooltip.js
@@ -1,5 +1,5 @@
/* ========================================================================
- * Bootstrap: tooltip.js v3.0.2
+ * Bootstrap: tooltip.js v3.0.3
* http://getbootstrap.com/javascript/#tooltip
* Inspired by the original jQuery.tipsy by Jason Frame
* ========================================================================
@@ -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 () {