From 7aca72322effb717804af8348d3b58cfa2cbe000 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sun, 8 Jan 2012 15:12:34 -0800 Subject: [PATCH] move hover state out of timeout duh --- docs/javascript.html | 2 +- js/bootstrap-twipsy.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/javascript.html b/docs/javascript.html index 76b5edb87e..f7980d86b5 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -517,7 +517,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) { -
diff --git a/js/bootstrap-twipsy.js b/js/bootstrap-twipsy.js index 756775f43e..b7b802926d 100644 --- a/js/bootstrap-twipsy.js +++ b/js/bootstrap-twipsy.js @@ -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() }