MoveOnOrg / giraffe

MoveOn CSS from 2018 rebrand
1 stars 1 forks source link

Add "hidden" class for form elements #281

Closed sjwmoveon closed 3 years ago

sjwmoveon commented 3 years ago

The unsubscribe page template has code that sets the "hidden" class on a checkbox when it doesn't apply, but that CSS class currently only works on donation pages.

sjwmoveon commented 3 years ago

This was to match a preexisting line in unsubscribe.html in ak-template-set $('#subscribe-weekly').addClass('hidden').find('input').prop('checked', false); I can edit the HTML instead to use the other class.

crayolakat commented 3 years ago

++ I think it's better to edit the HTML to use the d-none class