removing unless parameters on fire event in floating tip

This commit is contained in:
Ezequiel Bergamaschi 2014-04-27 23:59:01 -03:00
parent 928d65b024
commit 107a59132a

View File

@ -42,7 +42,7 @@ mindplot.widget.FloatingTip = new Class({
console.error('element is not necessary');
}
this.element.popover('show');
this.fireEvent('show', [this, this.element]);
this.fireEvent('show');
return this;
},
@ -51,7 +51,7 @@ mindplot.widget.FloatingTip = new Class({
console.error('element is not necessary');
}
this.element.popover('hide');
this.fireEvent('hide', [this, element]);
this.fireEvent('hide');
return this;
}
});