mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
fix error when emitting event without payload
This commit is contained in:
@@ -19,7 +19,7 @@ module.run(['$rootScope', function($rootScope) {
|
||||
});
|
||||
$rootScope.$on('emitReload', function(event, args) {
|
||||
// args.all
|
||||
$rootScope.$broadcast('reload', args);
|
||||
$rootScope.$broadcast('reload', args || {});
|
||||
});
|
||||
$rootScope.$on('emitFeedSearch', function(event, args) {
|
||||
$rootScope.$broadcast('feedSearch');
|
||||
|
||||
Reference in New Issue
Block a user