@financial-times/o-tracking
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -53,2 +53,3 @@ /*global module, require */ | ||
if (!window.IntersectionObserver) { | ||
console.warn('o-tracking: Unable to track component view events as "window.IntersectionObserver" is not supported.'); | ||
return; | ||
@@ -61,3 +62,2 @@ } | ||
if (!elementsToTrack.length) { | ||
console.warn('o-tracking: Unable to track element view events as "window.IntersectionObserver" is not supported.'); | ||
return; | ||
@@ -64,0 +64,0 @@ } |
@@ -26,3 +26,3 @@ { | ||
"name": "@financial-times/o-tracking", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "Origami module for FT tracking.", | ||
@@ -29,0 +29,0 @@ "dependencies": { |
70223