From ed155f7c29c683d3a1b0b1aba3dc7fd189306bf4 Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Sun, 26 May 2019 17:11:47 +0200 Subject: [PATCH] list js flog new id --- js/list.js | 1 + 1 file changed, 1 insertion(+) 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}']`);