Fixed visit recreation

Andrew Kane committed Aug 19, 2016
commit 88c3d01ddecafff85f0d24eeb297794481b9e52b
Showing 1 changed file with 2 additions and 1 deletions
vendor/assets/javascripts/ahoy.js +2 -1
@@ @@ -217,7 +217,8 @@
ahoy.track = function (name, properties) {
if (!ahoy.getVisitId()) {
- ready(createVisit)
+ isReady = false;
+ createVisit();
}
// generate unique id