Skip to content

Commit

Permalink
WCM-374 Random JS error instance.getPendingEvents is not a function a…
Browse files Browse the repository at this point in the history
…t liferay-analytics-processor
  • Loading branch information
Eduardo Garcia committed May 12, 2015
1 parent da72669 commit 5b79b79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
instance.store(events);

if (!requestId) {
requestId = setTimeout(instance.flush, requestInterval);
requestId = setTimeout(instance.flush.bind(instance), requestInterval);
}
};

Expand Down

0 comments on commit 5b79b79

Please sign in to comment.