Remove the edge clicking logic from the element.