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 52968d435c
commit bb39a9a9d7

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;
}
});