Skip to content

Commit 4ba5cf1

Browse files
committed
Fix error reported by TypeScript
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
1 parent 1efd736 commit 4ba5cf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/src/modules/navigation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ const FastFilter = {
12211221
filter.restore();
12221222
}
12231223

1224-
var value = $(this).prev()[0].defaultValue;
1224+
var value = ($(this).prev()[0] as HTMLInputElement).defaultValue;
12251225
$(this).prev().val(value).trigger('keyup');
12261226
}
12271227
}

0 commit comments

Comments
 (0)