diff --git a/assets/js/src/favorites.factory.js b/assets/js/src/favorites.factory.js index 5711fd6..bb8444b 100644 --- a/assets/js/src/favorites.factory.js +++ b/assets/js/src/favorites.factory.js @@ -17,10 +17,6 @@ function favorites_after_button_submit(favorites, post_id, site_id, status){} function favorites_after_initial_load(favorites){} -jQuery(document).ready(function(){ - new Favorites.Factory; -}); - var Favorites = Favorites || {}; /** @@ -113,4 +109,8 @@ Favorites.Factory = function() } return plugin.build(); -} \ No newline at end of file +} + +jQuery(document).ready(function(){ + new Favorites.Factory; +});