This commit is contained in:
Tim Krehan 2019-05-26 17:16:33 +02:00
parent f075315026
commit a646b5c51b

View file

@ -11,7 +11,7 @@ function highlightNewEntry(){
var cookies = document.cookie;
var cookieRegExp = new RegExp(/;?\s+newItem=(\d+)/g);
var match = cookieRegExp.exec(cookies);
console.log(`${match} test123`);
console.log(cookieRegExp);
if(match!=null){
var newID = match[1];
var checkBox = $(`[data-id='${newID}']`);