Skip to content

Commit

Permalink
Adds second favorites data parameter to "user favorites loaded" event.
Browse files Browse the repository at this point in the history
…Closes #100
  • Loading branch information
Kyle Phillips committed Nov 21, 2018
1 parent 20bdffd commit 2af84a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/js/favorites.js
Expand Up @@ -241,7 +241,7 @@ Favorites.UserFavorites = function()
console.log(data);
}
Favorites.userFavorites = data.favorites;
$(document).trigger('favorites-user-favorites-loaded', [plugin.initialLoad]);
$(document).trigger('favorites-user-favorites-loaded', [data.favorites, plugin.initialLoad]);
$(document).trigger('favorites-update-all-buttons');

// Deprecated Callback
Expand Down

0 comments on commit 2af84a2

Please sign in to comment.