Problem with DropDown Menu with .click function
Hello, I would like to start that I really sux at this programing language so please excuse me in advance. I created a DropDown menu with .click function but I want that when you want to drop the menu down to be an arrow pointing down and when you want to up it to be an arrow pointing up. Here is a link to JSFiddle what I have done ---> Edit fiddle - JSFiddle . If you can see when you open it for first time everything is working fine but after the first time the arrow pointing down disapear and it is replaced by the arrow witch is poiting up. I know that the problem is somewhere in the "if" section but I dont have the knowledge to correct it by myself. I will really apreciate if someone find a free time and help me with this. Thanks in advance.