mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
Changed completion modal watch to be on instead of
This commit is contained in:
@@ -148,7 +148,7 @@ habitrpg.controller('NotificationCtrl',
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Completed quest modal
|
// Completed quest modal
|
||||||
$rootScope.$watch('user.party.quest.completed', function(after, before){
|
$scope.$watch('user.party.quest.completed', function(after, before){
|
||||||
if (!after) return;
|
if (!after) return;
|
||||||
$rootScope.openModal('questCompleted', {controller:'InventoryCtrl'});
|
$rootScope.openModal('questCompleted', {controller:'InventoryCtrl'});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user