not popup

This commit is contained in:
Eduard Prigoana 2025-10-21 18:32:57 +03:00
parent 8ebc1542d5
commit 2c04d69edb
5 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,4 @@
//api.js
import { RATE_LIMIT_ERROR_MESSAGE, deriveTrackQuality, delay } from './utils.js';
import { APICache } from './cache.js';

View file

@ -1,3 +1,4 @@
//app.js
import { LosslessAPI } from './api.js';
import { apiSettings, themeManager, lastFMStorage } from './storage.js';
import { UIRenderer } from './ui.js';
@ -409,7 +410,7 @@ document.addEventListener('DOMContentLoaded', async () => {
const { token, url } = await scrobbler.getAuthUrl();
const authWindow = window.open(url, 'lastfm-auth', 'width=800,height=600');
const authWindow = window.open(url, '_blank');
lastfmConnectBtn.textContent = 'Waiting for authorization...';

View file

@ -1,3 +1,4 @@
//cache.js
export class APICache {
constructor(options = {}) {
this.memoryCache = new Map();

View file

@ -1,3 +1,4 @@
//player.js
import { REPEAT_MODE, formatTime } from './utils.js';
export class Player {

View file

@ -1,3 +1,4 @@
//ui.js
import { formatTime, createPlaceholder, trackDataStore, hasExplicitContent } from './utils.js';
import { recentActivityManager } from './storage.js';