removing unless parameters on fire event in floating tip
This commit is contained in:
@@ -42,7 +42,7 @@ mindplot.widget.FloatingTip = new Class({
|
|||||||
console.error('element is not necessary');
|
console.error('element is not necessary');
|
||||||
}
|
}
|
||||||
this.element.popover('show');
|
this.element.popover('show');
|
||||||
this.fireEvent('show', [this, this.element]);
|
this.fireEvent('show');
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@ mindplot.widget.FloatingTip = new Class({
|
|||||||
console.error('element is not necessary');
|
console.error('element is not necessary');
|
||||||
}
|
}
|
||||||
this.element.popover('hide');
|
this.element.popover('hide');
|
||||||
this.fireEvent('hide', [this, element]);
|
this.fireEvent('hide');
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user