aboutsummaryrefslogtreecommitdiffstats
path: root/example/nsPopover.js
diff options
context:
space:
mode:
Diffstat (limited to 'example/nsPopover.js')
-rw-r--r--example/nsPopover.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/example/nsPopover.js b/example/nsPopover.js
index cfdb904..505fbba 100644
--- a/example/nsPopover.js
+++ b/example/nsPopover.js
@@ -140,9 +140,13 @@
});
});
- elm.on('mouseout', function() {
- hider_.hide($popover, options.timeout);
- });
+ elm
+ .on('mouseout', function() {
+ hider_.hide($popover, options.timeout);
+ })
+ .on('mouseover', function() {
+ hider_.cancel();
+ });
$popover
.on('mouseout', function(e) {