AddEvent code not working in Discourse

Hi @Johani,

Your solution works for me. Just wanted to let you know.

Thanks!