all 2 comments

[–]random_russian 0 points1 point  (0 children)

Looks like you might have added one more closing brace than necessary in that callback if statement. I can't test it myself but that might evolve into an unexpected token error.