π
ΠΠΈΡΠ΅Π³ΠΎ Π½Π΅ Π½Π°ΠΉΠ΄Π΅Π½ΠΎ
ΠΠΎΠΏΡΠΎΠ±ΡΠΉΡΠ΅ ΠΈΠ·ΠΌΠ΅Π½ΠΈΡΡ ΠΏΠΎΠΈΡΠΊΠΎΠ²ΡΠΉ Π·Π°ΠΏΡΠΎΡ
diff --git a/public/script.ts b/public/script.ts
index 245089e..bed14b0 100644
--- a/public/script.ts
+++ b/public/script.ts
@@ -40,7 +40,6 @@ interface ConvertResponse {
class QuixoticApp {
private tg?: TelegramWebApp;
private searchInput!: HTMLInputElement;
- private searchBtn!: HTMLButtonElement;
private loading!: HTMLElement;
private results!: HTMLElement;
private noResults!: HTMLElement;
@@ -67,7 +66,6 @@ class QuixoticApp {
}
this.searchInput = document.getElementById('searchInput') as HTMLInputElement;
- this.searchBtn = document.getElementById('searchBtn') as HTMLButtonElement;
this.loading = document.getElementById('loading') as HTMLElement;
this.results = document.getElementById('results') as HTMLElement;
this.noResults = document.getElementById('noResults') as HTMLElement;
@@ -184,7 +182,6 @@ class QuixoticApp {
private hideLoading(): void {
this.loading.classList.add('tg-hidden');
this.loading.classList.remove('tg-spinner--visible');
- this.searchBtn.disabled = false;
}
private displayResults(videos: VideoResult[]): void {