add gdpr notice
This commit is contained in:
parent
ece3e3367f
commit
bea3f3b053
5 changed files with 38 additions and 2 deletions
|
|
@ -1858,6 +1858,17 @@
|
|||
// send init-done event
|
||||
API.event.emit('init-done', STATS);
|
||||
|
||||
// show gdpr if it's never been seen
|
||||
if (!SDB.gdpr) {
|
||||
$('gdpr').style.display = 'flex';
|
||||
}
|
||||
|
||||
// dismiss gdpr alert
|
||||
$('gotit').onclick = () => {
|
||||
$('gdpr').style.display = 'none';
|
||||
SDB.gdpr = Date.now();
|
||||
};
|
||||
|
||||
// lift curtain
|
||||
$('curtain').style.display = 'none';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue