mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
* Fixed #2312 * Update src/plugins/album-actions/index.ts Co-authored-by: JellyBrick <shlee1503@naver.com> --------- Co-authored-by: JellyBrick <shlee1503@naver.com>
This commit is contained in:
@ -133,9 +133,11 @@ export default createPlugin<
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
loadFullList(event: MouseEvent) {
|
loadFullList(event: MouseEvent) {
|
||||||
if (event.currentTarget instanceof Element) {
|
if (event.target instanceof Element) {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
const id = event.currentTarget.id;
|
const button = event.target.closest('button') as HTMLElement;
|
||||||
|
if (!button?.id) return;
|
||||||
|
const id = button.id;
|
||||||
const loader = document.getElementById('continuations')!;
|
const loader = document.getElementById('continuations')!;
|
||||||
this.loadObserver = new MutationObserver(() => {
|
this.loadObserver = new MutationObserver(() => {
|
||||||
this.applyToList(id, loader);
|
this.applyToList(id, loader);
|
||||||
|
|||||||
Reference in New Issue
Block a user