From 62fefbb5e7c673042e478552cc6af166a60b36d5 Mon Sep 17 00:00:00 2001 From: Honey Date: Sat, 23 May 2026 20:56:16 +0200 Subject: [PATCH] fix: import scDlSingle and scDlTrack in main.js to prevent runtime ReferenceError Missing imports caused Object.assign(window,...) to throw before navigate was ever assigned, breaking all onclick nav buttons. Co-Authored-By: Claude Sonnet 4.6 --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index bf43364..935835c 100644 --- a/src/main.js +++ b/src/main.js @@ -20,7 +20,7 @@ import { } from './views.js'; import { loadSpotifyImporter, resolveSpotifyLink, clearSpotifyPreview, spotifyDlAll, onImporterInput, resolveImporterLink } from './spotify.js'; -import { loadSoundCloudImporter, resolveSoundCloudLink, clearSoundCloudPreview, scDlAll } from './soundcloud.js'; +import { loadSoundCloudImporter, resolveSoundCloudLink, clearSoundCloudPreview, scDlAll, scDlSingle, scDlTrack } from './soundcloud.js'; import { absInitFromStorage, absOpenSettings, absConnectSettings, absSetLibrary, absDisconnect, absVerifyApiKey, absPlayItem, absTogglePlay, absSeek, absSkipSecs, absNextChapter, absPrevChapter,