Merge pull request #604 from lioshi/master

fix: events.load really at the end (inside setTimeout)
This commit is contained in:
Amauri CHAMPEAUX 2021-03-08 14:22:40 +01:00 committed by GitHub
commit b49eb506e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions

View File

@ -662,14 +662,13 @@ var tarteaucitron = {
tarteaucitron.userInterface.respond(this, false); tarteaucitron.userInterface.respond(this, false);
}); });
} }
if(tarteaucitron.events.load) {
tarteaucitron.events.load();
}
}, 500); }, 500);
}); });
}); });
if(tarteaucitron.events.load) {
tarteaucitron.events.load();
}
}, },
"addService": function (serviceId) { "addService": function (serviceId) {
"use strict"; "use strict";
@ -1844,4 +1843,4 @@ var tarteaucitron = {
}); });
} }
} }
}; };