That would tell me the code isn’t getting executed. Does a console.log fire if you’re outside the if statement?
console.log