Removing toasts when new toasts appear, and added a small fix for w3cvalidator

This commit is contained in:
Kasper Rynning-Tønnesen
2017-02-22 22:55:30 +01:00
parent 4efa995599
commit 7f23474b6d
11 changed files with 50 additions and 32 deletions

View File

@@ -423,8 +423,10 @@ function initfp(){
}
//window.channel_list = channel_list;
if(!localStorage.ok_cookie)
if(!localStorage.ok_cookie){
before_toast();
Materialize.toast("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;'> ok</a>", 10000);
}
var pad = 0;
document.getElementById("zicon").addEventListener("click", function(){