So I encountered something weird today (at least to me). I\'m trying to do a basic click event that adds and removes a class to a div with some css animations. This is an image