cs481-ekh / s22-ema

GNU General Public License v3.0
0 stars 1 forks source link

Javascript "parentNode Null" console error #234

Closed alejandro-macias closed 2 years ago

alejandro-macias commented 2 years ago

References user story #170

The issue is that the element does not exist until the admin user actually triggers the error. A check needs to be added to only run that line of code when the error actually occurs because that is when the element will exist and be displayed on the front end.