mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 10:58:48 +00:00
cookienotice addon - fixes for changerequest #pullrequestreview-195527901
This commit is contained in:
parent
0d8a382f8d
commit
174828070f
2 changed files with 8 additions and 11 deletions
|
@ -5,7 +5,6 @@ window.addEventListener("load", function () {
|
|||
if (cookie == "") {
|
||||
document.getElementById('cookienotice-box').style.display = 'block';
|
||||
document.getElementById('cookienotice-ok-button').onclick = function () {
|
||||
console.log('clicked');
|
||||
setCookie(cookiename, 1, 365);
|
||||
document.getElementById('cookienotice-box').style.display = 'none';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue