Skip to content

Commit 30f8f12

Browse files
committed
Corrected time at which minimum and maximum scroll offsets are reset (fixes #325)
1 parent 48264f7 commit 30f8f12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/tracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,9 +670,9 @@
670670
* @param object context Custom context relating to the event
671671
*/
672672
function logPagePing(pageTitle, context) {
673-
resetMaxScrolls();
674673
core.trackPagePing(purify(configCustomUrl || locationHrefAlias), pageTitle, purify(configReferrerUrl),
675674
Math.round(minXOffset), Math.round(maxXOffset), Math.round(minYOffset), Math.round(maxYOffset), context);
675+
resetMaxScrolls();
676676
}
677677

678678
/**

0 commit comments

Comments
 (0)