This commit is contained in:
Andrey Kondratev
2025-08-29 21:57:35 +05:00
parent 82d2713d15
commit ae658e15e4
2 changed files with 1 additions and 4 deletions

View File

@@ -32,7 +32,7 @@
<!-- Search results will appear here -->
</div>
<div class="tg-placeholder tg-placeholder--secondary tg-hidden" id="noResults" style="display: none;">
<div class="tg-placeholder tg-placeholder--secondary tg-hidden" id="noResults">
<div class="tg-placeholder__icon">🔍</div>
<div class="tg-placeholder__title">Ничего не найдено</div>
<div class="tg-placeholder__description">Попробуйте изменить поисковый запрос</div>

View File

@@ -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 {