Changed completion modal watch to be on instead of

This commit is contained in:
hairlessbear
2015-06-22 20:06:37 -04:00
parent a1a46933eb
commit 78b5ac4fdc

View File

@@ -148,7 +148,7 @@ habitrpg.controller('NotificationCtrl',
});
// Completed quest modal
$rootScope.$watch('user.party.quest.completed', function(after, before){
$scope.$watch('user.party.quest.completed', function(after, before){
if (!after) return;
$rootScope.openModal('questCompleted', {controller:'InventoryCtrl'});
});