Merge pull request #400 from nstCactus/patch-2
🐛 Dispatch an event when a service is accepted
This commit is contained in:
commit
334920b91b
|
|
@ -748,6 +748,7 @@ var tarteaucitron = {
|
||||||
tarteaucitron.pro('!' + key + '=engage');
|
tarteaucitron.pro('!' + key + '=engage');
|
||||||
|
|
||||||
tarteaucitron.launch[key] = true;
|
tarteaucitron.launch[key] = true;
|
||||||
|
tarteaucitron.sendEvent(key + '_loaded');
|
||||||
tarteaucitron.services[key].js();
|
tarteaucitron.services[key].js();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue