]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
rebuild with tooltip formatting change
authorJacob Thornton <jacobthornton@gmail.com>
Sun, 15 Apr 2012 06:11:19 +0000 (23:11 -0700)
committerJacob Thornton <jacobthornton@gmail.com>
Sun, 15 Apr 2012 06:11:19 +0000 (23:11 -0700)
docs/assets/bootstrap.zip
docs/assets/js/bootstrap-tooltip.js

index 4e3217a764ffbf55cf3cead427783fa3300d6a37..976986b067e1c1e6d74f5d6e76d69a9d0975967a 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index 454e7a4484dbc2698d62195de8f25ddac59c1246..af2e589687e5f0bb3ce13f20c4414b1b36253e75 100644 (file)
   , 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 () {