|
|
@ -145,19 +145,16 @@ const Popup = {
|
|
|
|
Popup.driver('getDetections').then(Popup.onGetDetections.bind(this))
|
|
|
|
Popup.driver('getDetections').then(Popup.onGetDetections.bind(this))
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
el.termsButtonDecline('.terms__button--decline').addEventListener(
|
|
|
|
el.termsButtonDecline.addEventListener('click', async () => {
|
|
|
|
'click',
|
|
|
|
await setOption('termsAccepted', true)
|
|
|
|
async () => {
|
|
|
|
await setOption('tracking', false)
|
|
|
|
await setOption('termsAccepted', true)
|
|
|
|
|
|
|
|
await setOption('tracking', false)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
el.terms.classList.add('terms--hidden')
|
|
|
|
el.terms.classList.add('terms--hidden')
|
|
|
|
el.footer.classList.remove('footer--hidden')
|
|
|
|
el.footer.classList.remove('footer--hidden')
|
|
|
|
el.tabPro.classList.remove('tab--disabled')
|
|
|
|
el.tabPro.classList.remove('tab--disabled')
|
|
|
|
|
|
|
|
|
|
|
|
Popup.driver('getDetections').then(Popup.onGetDetections.bind(this))
|
|
|
|
Popup.driver('getDetections').then(Popup.onGetDetections.bind(this))
|
|
|
|
}
|
|
|
|
})
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
let url
|
|
|
|
let url
|
|
|
|