New: A new Base.js function that detects a click on an element and toggles a class in another element. To acheive this do the following to the clickable element:
toggler
.data-selector
which contains a CSS selector pointing to the element(s) you want to toggle.data-toggle-class
which contains a CSS class you want to toggle (add if not there/remove if is).<span class="button toggler" data-selector="#subscription-form" data-toggle-class="show">Subscribe Now</span>
<span class="button toggler" data-selector="#subscription-form" data-toggle-class="show">Close</span>