Skip to content

Instantly share code, notes, and snippets.

@sirtimbly
Created December 15, 2018 04:02
Show Gist options
  • Save sirtimbly/092cb709d4bef5ebc0cd8439d3a14596 to your computer and use it in GitHub Desktop.
Save sirtimbly/092cb709d4bef5ebc0cd8439d3a14596 to your computer and use it in GitHub Desktop.
export default () => {
$(document).on("click", ".c-accordion__title", function(event) {
event.preventDefault();
// ... the rest of the old jquery code here
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment