Skip to content

Commit dadceee

Browse files
author
Baylor Rae
committed
the variable is already declared, no reason to redeclare it
1 parent 85eda22 commit dadceee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

js/jquery.relevant-dropdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
});
4747

4848
// Update pointer
49-
var datalistItems = $datalist.find("li");
49+
datalistItems = $datalist.find("li");
5050

5151
// Typey type type
5252
$input

js/relevant-dropdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ $(function() {
3535
});
3636

3737
// Update pointer
38-
var datalistItems = $datalist.find("li");
38+
datalistItems = $datalist.find("li");
3939

4040
// Typey type type
4141
doc

0 commit comments

Comments
 (0)