diff --git a/tarteaucitron.js b/tarteaucitron.js index 0604979..40493e7 100644 --- a/tarteaucitron.js +++ b/tarteaucitron.js @@ -1004,8 +1004,8 @@ var tarteaucitron = { tarteaucitron.pro('!' + key + '=engage'); tarteaucitron.launch[key] = true; - tarteaucitron.sendEvent(key + '_loaded'); if (typeof tarteaucitronMagic === 'undefined' || tarteaucitronMagic.indexOf("_" + key + "_") < 0) { tarteaucitron.services[key].js(); } + tarteaucitron.sendEvent(key + '_loaded'); } } var itemStatusElem = document.getElementById('tacCurrentStatus'+key);