Explorar o código

Add the loaded event on the accept all block

Amauri CHAMPEAUX %!s(int64=4) %!d(string=hai) anos
pai
achega
7c0062843f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);