]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
move hover state out of timeout duh
authorJacob Thornton <jacobthornton@gmail.com>
Sun, 8 Jan 2012 23:12:34 +0000 (15:12 -0800)
committerJacob Thornton <jacobthornton@gmail.com>
Sun, 8 Jan 2012 23:12:34 +0000 (15:12 -0800)
docs/javascript.html
js/bootstrap-twipsy.js

index 76b5edb87e600dd947e3dd29c8e4cad4db6f86e9..f7980d86b57c8039c05d8280ca54425ac34b4203 100644 (file)
@@ -517,7 +517,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
       </div>
     </section>
 
-    <!-- Tips
+    <!-- Twipsy
     ================================================== -->
 
     <section id="twipsy">
index 756775f43e3af8c7bcbe6ffa40fca02df2b93579..b7b802926d19f2c58bfae087544f87b395353c64 100644 (file)
@@ -88,8 +88,8 @@
       if (!self.options.delay || !self.options.delay.hide) {
         self.hide()
       } else {
+        self.hoverState = 'out'
         setTimeout(function() {
-          self.hoverState = 'out'
           if (self.hoverState == 'out') {
             self.hide()
           }