Skip to content

Commit fa66b46

Browse files
committed
simplify example
1 parent 81b8218 commit fa66b46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ v.addProvider('classicmovie', (value, element, params) => {
133133
let date = new Date(value);
134134
let genre = (document.getElementById('Genre') as HTMLSelectElement).value;
135135

136-
if (genre && genre.length > 0 && genre === '0') {
136+
if (genre && genre === '0') {
137137
return date.getFullYear() <= year;
138138
}
139139

0 commit comments

Comments
 (0)