aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-04-14 23:11:19 -0700
committerJacob Thornton <[email protected]>2012-04-14 23:11:19 -0700
commitcf4924764c94cc7c5f05cef60cc8a68199faf3f2 (patch)
tree0f63da805956b857ce1397419efbdbde686d0f46 /docs
parent19469aa52cafb3d8d708858b02a33c25d4e5e620 (diff)
downloadbootstrap-cf4924764c94cc7c5f05cef60cc8a68199faf3f2.tar.xz
bootstrap-cf4924764c94cc7c5f05cef60cc8a68199faf3f2.zip
rebuild with tooltip formatting change
Diffstat (limited to 'docs')
-rw-r--r--docs/assets/bootstrap.zipbin71484 -> 71463 bytes
-rw-r--r--docs/assets/js/bootstrap-tooltip.js36
2 files changed, 14 insertions, 22 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip
index 4e3217a76..976986b06 100644
--- a/docs/assets/bootstrap.zip
+++ b/docs/assets/bootstrap.zip
Binary files differ
diff --git a/docs/assets/js/bootstrap-tooltip.js b/docs/assets/js/bootstrap-tooltip.js
index 454e7a448..af2e58968 100644
--- a/docs/assets/js/bootstrap-tooltip.js
+++ b/docs/assets/js/bootstrap-tooltip.js
@@ -72,33 +72,25 @@
, enter: function (e) {
var self = $(e.currentTarget)[this.type](this._options).data(this.type)
- if (!self.options.delay || !self.options.delay.show) {
- self.show()
- } else {
- clearTimeout(this.timeout)
- self.hoverState = 'in'
- this.timeout = setTimeout(function() {
- if (self.hoverState == 'in') {
- self.show()
- }
- }, self.options.delay.show)
- }
+ if (!self.options.delay || !self.options.delay.show) return self.show()
+
+ clearTimeout(this.timeout)
+ self.hoverState = 'in'
+ this.timeout = setTimeout(function() {
+ if (self.hoverState == 'in') self.show()
+ }, self.options.delay.show)
}
, leave: function (e) {
var self = $(e.currentTarget)[this.type](this._options).data(this.type)
- if (!self.options.delay || !self.options.delay.hide) {
- self.hide()
- } else {
- clearTimeout(this.timeout)
- self.hoverState = 'out'
- this.timeout = setTimeout(function() {
- if (self.hoverState == 'out') {
- self.hide()
- }
- }, self.options.delay.hide)
- }
+ if (!self.options.delay || !self.options.delay.hide) return self.hide()
+
+ clearTimeout(this.timeout)
+ self.hoverState = 'out'
+ this.timeout = setTimeout(function() {
+ if (self.hoverState == 'out') self.hide()
+ }, self.options.delay.hide)
}
, show: function () {