Skip to content

fix(feedback): Disable all buttons based on click on no matter which … #524

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

Merged
merged 5 commits into from
Jan 18, 2020

Conversation

imklau
Copy link
Contributor

@imklau imklau commented Jan 16, 2020

Related issues

Closes #516

@imklau imklau requested a review from sanscontext January 16, 2020 14:43
@imklau imklau self-assigned this Jan 16, 2020
@sanscontext
Copy link
Contributor

Quick question - will this disable some of the link-type buttons as well, or just the feedback specific ones? We have a few links at the bottom (the support form, and the docs-feedback mail to link) which are also technically “buttons” so I want to make sure those still work.

@imklau
Copy link
Contributor Author

imklau commented Jan 16, 2020

@sanscontext I understand your concern about this one, my "disable all buttons" could be confusing. This will disable all buttons but with a specific data attribute, so basically just feedback buttons, other links are safe :)

@sanscontext
Copy link
Contributor

Perfect! Thank you!

@sanscontext sanscontext merged commit a0819e3 into master Jan 18, 2020
@sanscontext sanscontext deleted the prevent-multiple-feedback-clicks branch January 31, 2020 18:26
bot-docsteam added a commit that referenced this pull request Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prevent multiple feedback clicks on the same page without refresh
2 participants