Skip to content

Commit 29ad33e

Browse files
committed
Merge pull request #25 from fdaciuk/fix-attribute
Change attribute from for to htmlFor
2 parents 2e86adf + d15732e commit 29ad33e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/js/app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,19 +151,19 @@ class Pomodoro extends React.Component {
151151

152152
<span className="check">
153153
<input type="checkbox" ref="notification" id="notification"/>
154-
<label for="notification"></label>
154+
<label htmlFor="notification"></label>
155155
<span className="checkTitle" >Notification</span>
156156
</span>
157157

158158
<span className="check">
159159
<input type="checkbox" ref="audio" id="audio"/>
160-
<label for="audio"></label>
160+
<label htmlFor="audio"></label>
161161
<span className="checkTitle">Sound</span>
162162
</span>
163163

164164
<span className="check">
165165
<input type="checkbox" ref="vibrate" id="vibrate"/>
166-
<label for="vibrate"></label>
166+
<label htmlFor="vibrate"></label>
167167
<span className="checkTitle">Vibration</span>
168168
</span>
169169

0 commit comments

Comments
 (0)