Browse Source

Update tarteaucitron.js

Amauri CHAMPEAUX 5 năm trước cách đây
mục cha
commit
4f7f2be078
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tarteaucitron.js

+ 1 - 1
tarteaucitron.js

@@ -594,7 +594,7 @@ var tarteaucitron = {
             if (tarteaucitron.launch[service.key] !== true) {
             if (tarteaucitron.launch[service.key] !== true) {
                 tarteaucitron.launch[service.key] = true;
                 tarteaucitron.launch[service.key] = true;
                 service.js();
                 service.js();
-                this.sendEvent(service.key + '_loaded');
+                tarteaucitron.sendEvent(service.key + '_loaded');
             }
             }
             tarteaucitron.state[service.key] = true;
             tarteaucitron.state[service.key] = true;
             tarteaucitron.userInterface.color(service.key, true);
             tarteaucitron.userInterface.color(service.key, true);