15 lines
701 B
JavaScript
15 lines
701 B
JavaScript
if (localStorage.getItem("notification") !== "true") {
|
|
$("#cookieinfo").html( /*html*/ `
|
|
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
|
This site uses your browser's local storage to store information about your browsing activity.
|
|
<br>For more information, check out the <a href="/privacy">privacy policy</a>.
|
|
<br>Have a nice day!
|
|
<button type="button" class="close" data-dismiss="alert" id="cookie-notif-close">
|
|
<span>×</span>
|
|
</button>
|
|
</div>
|
|
`);
|
|
$("#cookie-notif-close").on("click", function () {
|
|
localStorage.setItem("notification", "true");
|
|
});
|
|
}
|