fixed all ios issues (hopefully)

This commit is contained in:
Tim Krehan 2019-05-26 17:19:08 +02:00
parent 5f2f9086cc
commit fc6716d117

View file

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