Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: Allow disabling link tracking with .no-track-link class #4160

Merged
merged 1 commit into from
Apr 11, 2016

Conversation

NuckChorris
Copy link
Contributor

I was running into some trouble with link tracking breaking a signup CTA link I'd insert into a onebox at runtime, because the .onebox-results ancestor doesn't trigger a return until much later — after the link has been rewritten. This allows disabling link tracking on any link just by adding a no-track-link class. The name is kinda weird but I wanted to match the existing track-link class which enables link tracking on otherwise-disabled links.

@discoursebot
Copy link

You've signed the CLA, NuckChorris. Thank you! This pull request is ready for review.

@eviltrout eviltrout merged commit 9bba68e into discourse:master Apr 11, 2016
@eviltrout
Copy link
Contributor

Thanks!

@NuckChorris NuckChorris deleted the no-track-link branch April 14, 2016 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants