feat(sharing): Remaining cheevo modals

This commit is contained in:
Sabe Jones
2015-11-10 13:43:37 -05:00
parent 875f2ac552
commit 23df5b608d
3 changed files with 41 additions and 40 deletions

View File

@@ -154,12 +154,12 @@ habitrpg.controller('NotificationCtrl',
$rootScope.$watch('user.achievements.rebirths', function(after, before){
if(after === before) return;
$rootScope.openModal('achievements/rebirth');
$rootScope.openModal('achievements/rebirth', {controller:'UserCtrl', size: 'sm'});
});
$rootScope.$watch('user.flags.contributor', function(after, before){
if (after === before || after !== true) return;
$rootScope.openModal('achievements/contributor');
$rootScope.openModal('achievements/contributor',{controller:'UserCtrl'});
});
// Completed quest modal