Merge pull request #400 from nstCactus/patch-2

🐛 Dispatch an event when a service is accepted
This commit is contained in:
Amauri CHAMPEAUX 2020-02-05 11:30:59 +01:00 committed by GitHub
commit 334920b91b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -748,6 +748,7 @@ var tarteaucitron = {
tarteaucitron.pro('!' + key + '=engage');
tarteaucitron.launch[key] = true;
tarteaucitron.sendEvent(key + '_loaded');
tarteaucitron.services[key].js();
}
}