Minor refactoring

This commit is contained in:
An Phan 2016-05-30 14:36:50 +08:00
parent 9a302fd111
commit 07c1ae0f59

View file

@ -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);