From 0405ef977a3ba37b3da472733e59be6db7bd7b99 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 3 Nov 2016 19:52:09 +0100 Subject: Aria-labels actually didn't work in React, so removing. Fixing some bugs --- .../javascripts/components/features/ui/components/compose_form.jsx | 1 - .../javascripts/components/features/ui/components/follow_form.jsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'app/assets/javascripts/components/features') diff --git a/app/assets/javascripts/components/features/ui/components/compose_form.jsx b/app/assets/javascripts/components/features/ui/components/compose_form.jsx index e54641347..0655a7c79 100644 --- a/app/assets/javascripts/components/features/ui/components/compose_form.jsx +++ b/app/assets/javascripts/components/features/ui/components/compose_form.jsx @@ -132,7 +132,6 @@ const ComposeForm = React.createClass({ const inputProps = { placeholder: 'What is on your mind?', - arialabel: 'What is on your mind?', value: this.props.text, onKeyUp: this.handleKeyUp, onChange: this.handleChange, diff --git a/app/assets/javascripts/components/features/ui/components/follow_form.jsx b/app/assets/javascripts/components/features/ui/components/follow_form.jsx index be80b7663..4ba5dfc25 100644 --- a/app/assets/javascripts/components/features/ui/components/follow_form.jsx +++ b/app/assets/javascripts/components/features/ui/components/follow_form.jsx @@ -33,7 +33,7 @@ const FollowForm = React.createClass({ render () { return (
- +
); -- cgit