mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
move hover state out of timeout duh
This commit is contained in:
parent
91d393fd47
commit
7aca72322e
2 changed files with 2 additions and 2 deletions
|
@ -517,7 +517,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- Tips
|
<!-- Twipsy
|
||||||
================================================== -->
|
================================================== -->
|
||||||
|
|
||||||
<section id="twipsy">
|
<section id="twipsy">
|
||||||
|
|
2
js/bootstrap-twipsy.js
vendored
2
js/bootstrap-twipsy.js
vendored
|
@ -88,8 +88,8 @@
|
||||||
if (!self.options.delay || !self.options.delay.hide) {
|
if (!self.options.delay || !self.options.delay.hide) {
|
||||||
self.hide()
|
self.hide()
|
||||||
} else {
|
} else {
|
||||||
|
self.hoverState = 'out'
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
self.hoverState = 'out'
|
|
||||||
if (self.hoverState == 'out') {
|
if (self.hoverState == 'out') {
|
||||||
self.hide()
|
self.hide()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue