Compare commits

..

No commits in common. "8a99e9837e0cea331b56971598c4cbff16b48f5c" and "20de548763099115e884a853041d2a35aedaed10" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { Throttler } from "./Throttler";
import { Throttler } from "./utils";
type Position = {
x: number;
@ -105,7 +105,7 @@ function setupSearchBar(zipCodeElement: HTMLParagraphElement) {
searchBar.onkeypress = (event: KeyboardEvent) => {console.log(event);
event.key !== "Enter" || !isNaN(parseInt(event.key));}
searchBar.addEventListener("submit", async (event: SubmitEvent) => {
searchBar.addEventListener("submit", async (event: MouseEvent) => {
event.preventDefault();
const inputValue = searchInput.value;