feat(modals): Levelup modal

Introduces a new modal that displays whenever the user levels up.
This commit is contained in:
Sabe Jones
2015-10-13 16:32:07 -04:00
parent 5eacba54b8
commit 6505824cb6
4 changed files with 24 additions and 0 deletions

View File

@@ -153,6 +153,7 @@ habitrpg.controller('NotificationCtrl',
if (after > before) {
Notification.lvl();
$rootScope.playSound('Level_Up');
$rootScope.openModal('levelUp', {controller:'UserCtrl', size:'sm'});
}
});