fix variable's name

pull/1581/head
Enoc 4 years ago
parent 5b57737c5f
commit fb09d8714c

@ -11,7 +11,7 @@
try @initErrorTracking() catch
return unless @browserCheck()
@showAnaliticsOne = false
@analiticsAlreadyShown = false
@el = $('._app')
@localStorage = new LocalStorageStore
@serviceWorker = new app.ServiceWorker if app.ServiceWorker.isEnabled()

@ -202,7 +202,9 @@ track = ->
return unless app.config.env == 'production'
return if app.analiticsAlreadyShown
# only show the analitics cookie notification once
app.analiticsAlreadyShown = true
consentGiven = Cookies.get('analyticsConsent')
consentAsked = Cookies.get('analyticsConsentAsked')

Loading…
Cancel
Save