Permalink
Browse files

move hover state out of timeout duh

  • Loading branch information...
fat committed Jan 8, 2012
1 parent 91d393f commit 7aca72322effb717804af8348d3b58cfa2cbe000
Showing with 2 additions and 2 deletions.
  1. +1 −1 docs/javascript.html
  2. +1 −1 js/bootstrap-twipsy.js
View
@@ -517,7 +517,7 @@ <h3>Demo</h3>
</div>
</section>
- <!-- Tips
+ <!-- Twipsy
================================================== -->
<section id="twipsy">
View
@@ -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()
}

0 comments on commit 7aca723

Please sign in to comment.