Changed cookie-toast and added a cookie-modal

This commit is contained in:
Kasper Rynning-Tønnesen
2018-08-28 19:19:59 +02:00
parent ce27b65991
commit f290812f6d
5 changed files with 28 additions and 6 deletions

View File

@@ -513,11 +513,6 @@ var Frontpage = {
M.Modal.getInstance(document.getElementById("donation")).open();
}
if(!localStorage.ok_cookie){
before_toast();
//M.toast({html: "We're using cookies to enhance your experience! <a class='waves-effect waves-light btn light-green' href='#' id='cookieok' style='cursor:pointer;pointer-events:all;margin-left:10px;'> ok</a>", displayLength: 10000});
}
//var pad = 0;
/*$(".zicon").on("click", function(e) {