ghost
3 years ago
8 changed files with 13 additions and 18 deletions
@ -1,13 +1,13 @@
@@ -1,13 +1,13 @@
|
||||
$(document).ready(function() { |
||||
|
||||
// Init modules
|
||||
ModuleMenu.init('follow'); |
||||
ModuleMenu.init('people'); |
||||
ModuleFollowing.load('#moduleFollowing', true); |
||||
ModuleFeed.load('#moduleFeed', true); |
||||
|
||||
// Event listeners
|
||||
$(document).on('ModuleFollowing.unFollow:success', function(/*event, response*/) { |
||||
ModuleMenu.init('follow'); |
||||
ModuleMenu.init('people'); |
||||
ModuleFollowing.load('#moduleFollowing', true); |
||||
ModuleFeed.load('#moduleFeed', true); |
||||
}); |
Loading…
Reference in new issue