瀏覽代碼

Add the loaded event on the accept all block

Amauri CHAMPEAUX 4 年之前
父節點
當前提交
7c0062843f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tarteaucitron.js

+ 1 - 0
tarteaucitron.js

@@ -868,6 +868,7 @@ var tarteaucitron = {
 
                         tarteaucitron.launch[key] = true;
                         tarteaucitron.services[key].js();
+                        tarteaucitron.sendEvent(key + '_loaded');
                     }
                     tarteaucitron.state[key] = status;
                     tarteaucitron.cookie.create(key, status);