mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-13 16:08:41 +00:00
fix bug
This commit is contained in:
parent
4e400bf372
commit
727bf9e559
|
|
@ -112,7 +112,7 @@
|
||||||
trigger (group, id = '', data = null)
|
trigger (group, id = '', data = null)
|
||||||
{
|
{
|
||||||
if (this.callbacks.hasOwnProperty(group)) {
|
if (this.callbacks.hasOwnProperty(group)) {
|
||||||
return this.triggerSingleEvent();
|
return this.triggerSingleEvent(group, id, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
const allGroups = Object.keys(this.callbacks),
|
const allGroups = Object.keys(this.callbacks),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user