Skip to content

Commit

Permalink
chore(plugins): change default config album-actions, music-together
Browse files Browse the repository at this point in the history
  • Loading branch information
Su-Yong committed Dec 31, 2023
1 parent ee0c512 commit aa899d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/plugins/album-actions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/music-together/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default createPlugin({
description: () => t('plugins.music-together.description'),
restartNeeded: false,
config: {
enabled: true
enabled: false
},
stylesheets: [style],
backend: {
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit aa899d2

Please sign in to comment.