when clicking button, hide its tooltip
This commit is contained in:
parent
619bc0afb5
commit
9a0bd1faec
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ Ox.Button = function(options, self) {
|
||||||
|
|
||||||
function click() {
|
function click() {
|
||||||
if (!self.options.disabled) {
|
if (!self.options.disabled) {
|
||||||
|
that.$tooltip && that.$tooltip.hide();
|
||||||
that.triggerEvent('click');
|
that.triggerEvent('click');
|
||||||
if (self.options.values.length || self.options.selectable) {
|
if (self.options.values.length || self.options.selectable) {
|
||||||
that.toggle();
|
that.toggle();
|
||||||
|
|
Loading…
Reference in a new issue