1
0
Fork 0
forked from 0x2620/oxjs

Create tooltip only on mouseenter

This commit is contained in:
j 2014-02-02 11:05:41 +00:00 committed by rolux
commit 120a9eda41
3 changed files with 39 additions and 14 deletions

View file

@ -118,7 +118,7 @@ Ox.MenuButton = function(options, self) {
that.gainFocus();
that.addClass('OxSelected');
from != 'button' && self.$button.options({value: true});
self.options.tooltip && that.$tooltip.hide();
that.$tooltip && that.$tooltip.hide();
self.$menu.showMenu();
that.triggerEvent('show');
}