From 066754912b61042ef3468dde797b18c7451d192a Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Sun, 26 May 2019 17:17:00 +0200 Subject: [PATCH] e --- js/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}']`);