✨ Dispatch an event when a service is added.
This commit is contained in:
parent
da7272f60d
commit
e58a6ab8d2
|
|
@ -641,6 +641,7 @@ var tarteaucitron = {
|
||||||
}
|
}
|
||||||
|
|
||||||
tarteaucitron.cookie.checkCount(service.key);
|
tarteaucitron.cookie.checkCount(service.key);
|
||||||
|
tarteaucitron.sendEvent(service.key + '_added')
|
||||||
},
|
},
|
||||||
"sendEvent" : function(event_key) {
|
"sendEvent" : function(event_key) {
|
||||||
if(event_key !== undefined) {
|
if(event_key !== undefined) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue