소스 검색

Merge pull request #400 from nstCactus/patch-2

🐛 Dispatch an event when a service is accepted
Amauri CHAMPEAUX 5 년 전
부모
커밋
334920b91b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tarteaucitron.js

+ 1 - 0
tarteaucitron.js

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