diff --git a/js/list.js b/js/list.js index 2461884..ef1f744 100644 --- a/js/list.js +++ b/js/list.js @@ -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(cookieRegExp); + console.log(cookies); if(match!=null){ var newID = match[1]; var checkBox = $(`[data-id='${newID}']`);