diff --git a/js/list.js b/js/list.js index 6fd4e29..e898a13 100644 --- a/js/list.js +++ b/js/list.js @@ -11,6 +11,7 @@ function highlightNewEntry(){ var cookies = document.cookie; var cookieRegExp = new RegExp(/;?\s+newItem=(\d+)/g); var match = cookieRegExp.exec(cookies); + console.log(match); if(match!=null){ var newID = match[1]; var checkBox = $(`[data-id='${newID}']`);