Saw this error on the console - VM2134:1 Uncaught TypeError: Cannot read property 'children' of null
I think this is where it happened -
if (document.getElementById('confirmMsg').children.length > 0) {
document.getElementById('confirm').classList.add('ui-state-error')
}
else {
document.getElementById('confirm').classList.remove('ui-state-error')
}
I'm not familiar with javascript but I feel like I need to make sure that element exists && has children? Please help fix this issue. Thank you!