mirror of
https://github.com/koel/koel
synced 2024-09-21 06:41:58 +00:00
Minor refactoring
This commit is contained in:
parent
9a302fd111
commit
07c1ae0f59
1 changed files with 4 additions and 2 deletions
|
@ -22,8 +22,10 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
open() {},
|
open() {},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Close all submenus.
|
||||||
|
*/
|
||||||
close() {
|
close() {
|
||||||
// Close all submenus
|
|
||||||
$(this.$el).find('.submenu').hide();
|
$(this.$el).find('.submenu').hide();
|
||||||
|
|
||||||
this.shown = false;
|
this.shown = false;
|
||||||
|
@ -54,7 +56,7 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add the selected songs into Favorite.
|
* Add the selected songs into Favorites.
|
||||||
*/
|
*/
|
||||||
addSongsToFavorite() {
|
addSongsToFavorite() {
|
||||||
favoriteStore.like(this.songs);
|
favoriteStore.like(this.songs);
|
||||||
|
|
Loading…
Reference in a new issue