mirror of
https://github.com/koel/koel
synced 2024-11-28 06:50:27 +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: {
|
||||
open() {},
|
||||
|
||||
/**
|
||||
* Close all submenus.
|
||||
*/
|
||||
close() {
|
||||
// Close all submenus
|
||||
$(this.$el).find('.submenu').hide();
|
||||
|
||||
this.shown = false;
|
||||
|
@ -54,7 +56,7 @@ export default {
|
|||
},
|
||||
|
||||
/**
|
||||
* Add the selected songs into Favorite.
|
||||
* Add the selected songs into Favorites.
|
||||
*/
|
||||
addSongsToFavorite() {
|
||||
favoriteStore.like(this.songs);
|
||||
|
|
Loading…
Reference in a new issue