Skip to content

Commit 9febb84

Browse files
committed
Merge branch 'release/2.2.2'
2 parents 8ce9a04 + aa6562a commit 9febb84

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Version 2.2.2 (2015-03-03)
2+
--------------------------
3+
Corrected time at which minimum and maximum scroll offsets are reset (#325)
4+
15
Version 2.2.1 (2015-01-28)
26
--------------------------
37
Fixed QuotaExceededError bug with localStorage in Safari (#308)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "snowplow-tracker",
3-
"version": "2.2.1",
3+
"version": "2.2.2",
44
"devDependencies": {
55
"JSON": "~1.0.0",
66
"browser-cookie-lite": "~0.3.1",

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)