fixes?
This commit is contained in:
@@ -212,7 +212,9 @@ class QuixoticApp {
|
||||
public async convertVideo(videoId: string, title: string, url: string): Promise<void> {
|
||||
console.log('🎵 CONVERT VIDEO CALLED:', { videoId, title, url });
|
||||
console.log('🔧 Telegram WebApp available:', !!this.tg);
|
||||
const videoElement = document.activeElement as HTMLElement;
|
||||
|
||||
// Find the clicked element by looking for the one that contains this videoId
|
||||
const videoElement = document.querySelector(`[onclick*="${videoId}"]`) as HTMLElement;
|
||||
if (videoElement) {
|
||||
videoElement.classList.add('tg-list-item--converting');
|
||||
}
|
||||
@@ -328,4 +330,4 @@ class QuixoticApp {
|
||||
}
|
||||
|
||||
const app = new QuixoticApp();
|
||||
(window as any).app = app;
|
||||
(window as any).app = app;
|
||||
|
||||
Reference in New Issue
Block a user