Had two click actions on a div when there should only have been one