In '/components/cookiemanager/scripts.js' in function 'addToggleEvents' the levels can be empty, so setting 'levels.style.display = ...' will run into error.
I think it would be right to check if levels not undefined, so it should be eg.
levels && levels.forEach(function(level) { level.style.display = 'block'; });
and
levels && levels.forEach(function(level) { level.style.display = 'none'; });
Hi.
In '/components/cookiemanager/scripts.js' in function 'addToggleEvents' the levels can be empty, so setting 'levels.style.display = ...' will run into error.
I think it would be right to check if levels not undefined, so it should be eg.
levels && levels.forEach(function(level) { level.style.display = 'block'; });
andlevels && levels.forEach(function(level) { level.style.display = 'none'; });
Regards RonMen