Update script.js
This commit is contained in:
parent
e912be68e7
commit
584245f8a4
1 changed files with 1 additions and 16 deletions
|
|
@ -913,22 +913,7 @@ function initializeSettings() {
|
|||
}
|
||||
|
||||
// Test connection buttons
|
||||
const testSpotifyBtn = document.querySelector('.api-test-buttons button[onclick="testConnection(\'spotify\')"]');
|
||||
if (testSpotifyBtn) {
|
||||
testSpotifyBtn.addEventListener('click', () => testConnection('spotify'));
|
||||
}
|
||||
const testTidalBtn = document.querySelector('.api-test-buttons button[onclick="testConnection(\'tidal\')"]');
|
||||
if (testTidalBtn) {
|
||||
testTidalBtn.addEventListener('click', () => testConnection('tidal'));
|
||||
}
|
||||
const testSoulseekBtn = document.querySelector('.api-test-buttons button[onclick="testConnection(\'soulseek\')"]');
|
||||
if (testSoulseekBtn) {
|
||||
testSoulseekBtn.addEventListener('click', () => testConnection('soulseek'));
|
||||
}
|
||||
const testServerBtn = document.querySelector('.server-test-btn');
|
||||
if (testServerBtn) {
|
||||
testServerBtn.addEventListener('click', () => testConnection('server'));
|
||||
}
|
||||
// Test button event listeners removed - they use onclick attributes in HTML to avoid double firing
|
||||
}
|
||||
|
||||
async function loadSettingsData() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue