mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 11:21:46 +00:00
@ -35,7 +35,7 @@ async function listenForApiLoad() {
|
||||
}
|
||||
|
||||
interface YouTubeMusicAppElement extends HTMLElement {
|
||||
navigate_(page: string): void;
|
||||
navigate(page: string): void;
|
||||
}
|
||||
|
||||
async function onApiLoaded() {
|
||||
@ -167,7 +167,7 @@ async function onApiLoaded() {
|
||||
if (startingPage && startingPages[startingPage]) {
|
||||
document
|
||||
.querySelector<YouTubeMusicAppElement>('ytmusic-app')
|
||||
?.navigate_(startingPages[startingPage]);
|
||||
?.navigate(startingPages[startingPage]);
|
||||
}
|
||||
|
||||
// Remove upgrade button
|
||||
|
||||
Reference in New Issue
Block a user