allow default startingPage

This commit is contained in:
Araxeus
2023-03-21 17:46:52 +02:00
parent f5758bfe93
commit 45fa963818
4 changed files with 3 additions and 5 deletions

View File

@ -133,7 +133,7 @@ function onApiLoaded() {
// Navigate to "Starting page"
const startingPage = config.get("options.startingPage");
if (startingPage !== "home" && startingPages[startingPage]) {
if (startingPage && startingPages[startingPage]) {
$('ytmusic-app')?.navigate_(startingPages[startingPage]);
}