Remove 'datepicker' class from not inline parent