forked from neff/neff-steindesign.de
Spell fix
This commit is contained in:
parent
096808e45c
commit
6b79a90855
|
|
@ -26,7 +26,7 @@ function enableGoogleAnalytics() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function setupGoogleAnanytics(status) {
|
function setupGoogleAnalytics(status) {
|
||||||
if (status === 'allow' || status === 'dismiss') {
|
if (status === 'allow' || status === 'dismiss') {
|
||||||
enableGoogleAnalytics();
|
enableGoogleAnalytics();
|
||||||
}
|
}
|
||||||
|
|
@ -62,7 +62,7 @@ window.addEventListener("load", function () {
|
||||||
},
|
},
|
||||||
dismissOnScroll: 600,
|
dismissOnScroll: 600,
|
||||||
onInitialise: function (status) {
|
onInitialise: function (status) {
|
||||||
setupGoogleAnanytics(status)
|
setupGoogleAnalytics(status)
|
||||||
},
|
},
|
||||||
onStatusChange: function (status) {
|
onStatusChange: function (status) {
|
||||||
if (status === 'allow' || status === 'dismiss') {
|
if (status === 'allow' || status === 'dismiss') {
|
||||||
|
|
@ -71,7 +71,7 @@ window.addEventListener("load", function () {
|
||||||
document.cookie = gaDisableStr + '=true; expires=Thu, 31 Dec 1970 23:59:59 UTC; path=/';
|
document.cookie = gaDisableStr + '=true; expires=Thu, 31 Dec 1970 23:59:59 UTC; path=/';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
setupGoogleAnanytics(status)
|
setupGoogleAnalytics(status)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue