Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hyww committed May 10, 2017
1 parent 6e23509 commit 4819b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Subtitle.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const Subtitle = (props) => {
const getText= (l, s) => {
for( let i = l.length - 1 ; i >= 0 ; i-- ){
if ( l[i].time <= s )
return l[i].text==''?' ':l[i].text;
return l[i].text===''?' ':l[i].text;
}
};
return (
Expand Down

0 comments on commit 4819b01

Please sign in to comment.