Merge pull request #401 from nstCactus/patch-3
✨ Dispatch an event when a service is added.
This commit is contained in:
commit
4d870d731d
|
|
@ -641,6 +641,7 @@ var tarteaucitron = {
|
|||
}
|
||||
|
||||
tarteaucitron.cookie.checkCount(service.key);
|
||||
tarteaucitron.sendEvent(service.key + '_added')
|
||||
},
|
||||
"sendEvent" : function(event_key) {
|
||||
if(event_key !== undefined) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue