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

Add accessibility #3

Merged
merged 1 commit into from
Dec 9, 2018
Merged

Add accessibility #3

merged 1 commit into from
Dec 9, 2018

Conversation

Pickra
Copy link
Owner

@Pickra Pickra commented Dec 8, 2018

Please review @kgroat

@@ -21,12 +23,12 @@ export default (string, opts) => {
textarea.select();

button.innerHTML = 'Copied!';
setTimeout(function() { button.innerHTML = 'Copy'; }, 1000);
setTimeout(function() { button.innerHTML = 'Click to copy'; }, 1500);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be a good idea to break 'Click to copy' into its own variable so it can be reused.

@Pickra Pickra merged commit c512994 into master Dec 9, 2018
@Pickra Pickra deleted the feature/addAccessibility branch December 13, 2018 15:28
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.

None yet

2 participants