Skip to content

Commit 01ccec4

Browse files
committed
Merge pull request #13 from timfel/patch-1
Fail-silent when browsers did not load google analytics JS
2 parents f007e71 + 6bfbfc0 commit 01ccec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ window.onload = function() {
8181
});
8282

8383
function saveToLively(contents) {
84-
var address = (google &&
84+
var address = (window.google &&
8585
google.loader &&
8686
google.loader.ClientLocation &&
8787
google.loader.ClientLocation.address) || {city: "unknown city", country: "unknown country"};

0 commit comments

Comments
 (0)