mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
chore(plugins): change default config album-actions, music-together
This commit is contained in:
@ -12,7 +12,7 @@ export default createPlugin({
|
||||
description: () => t('plugins.album-actions.description'),
|
||||
restartNeeded: false,
|
||||
config: {
|
||||
enabled: true,
|
||||
enabled: false,
|
||||
},
|
||||
renderer: {
|
||||
observer: null as MutationObserver | null,
|
||||
|
||||
@ -39,7 +39,7 @@ export default createPlugin({
|
||||
description: () => t('plugins.music-together.description'),
|
||||
restartNeeded: false,
|
||||
config: {
|
||||
enabled: true
|
||||
enabled: false
|
||||
},
|
||||
stylesheets: [style],
|
||||
backend: {
|
||||
@ -670,7 +670,7 @@ export default createPlugin({
|
||||
const dividers = Array.from(document.querySelectorAll('.music-together-divider'));
|
||||
dividers.forEach((divider) => divider.remove());
|
||||
|
||||
this.elements.setting.remove();
|
||||
this.elements.setting?.remove();
|
||||
this.onStop();
|
||||
if (typeof this.stateInterval === 'number') clearInterval(this.stateInterval);
|
||||
if (this.playerApi) this.playerApi.removeEventListener('onStateChange', this.videoStateChangeListener);
|
||||
|
||||
Reference in New Issue
Block a user