aboutsummaryrefslogtreecommitdiff
path: root/js/bootstrap-tooltip.js
diff options
context:
space:
mode:
authorJørgen Borgesen <[email protected]>2012-05-20 19:59:53 +0200
committerJørgen Borgesen <[email protected]>2012-05-20 19:59:53 +0200
commite388a5e475867cd266d58caf83b614aafe06cc10 (patch)
treed2b09e2f50c36a7b4661e962ab73daf7f086be5d /js/bootstrap-tooltip.js
parente9a7d26d0636445fb20def22db54fe703164031b (diff)
downloadbootstrap-e388a5e475867cd266d58caf83b614aafe06cc10.tar.xz
bootstrap-e388a5e475867cd266d58caf83b614aafe06cc10.zip
Added unit test to check that tooltips is not showed when leave event is triggered before show delay has expired AND the hide delay is set to 0
Diffstat (limited to 'js/bootstrap-tooltip.js')
-rw-r--r--js/bootstrap-tooltip.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js
index 4c2a2a328..6ff2b4708 100644
--- a/js/bootstrap-tooltip.js
+++ b/js/bootstrap-tooltip.js
@@ -87,7 +87,6 @@
if (this.timeout) clearTimeout(this.timeout)
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()