2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

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

This commit is contained in:
Jørgen Borgesen
2012-05-20 19:59:53 +02:00
parent e9a7d26d06
commit e388a5e475
2 changed files with 20 additions and 2 deletions
-1
View File
@@ -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()