test
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user