Deletes the class if you click inside the unit?

When you click the button that is on the same level with wonder inside the other deletes the class from the first when I click on it... what's wrong? https://jsfiddle.net/odnk33vp/1/
June 14th 19 at 20:41

Find more questions by tags JavaScriptjQuery