when clicking button, hide its tooltip

This commit is contained in:
rolux 2012-06-18 10:54:08 +02:00
parent 619bc0afb5
commit 9a0bd1faec

View file

@ -114,6 +114,7 @@ Ox.Button = function(options, self) {
function click() {
if (!self.options.disabled) {
that.$tooltip && that.$tooltip.hide();
that.triggerEvent('click');
if (self.options.values.length || self.options.selectable) {
that.toggle();