mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
feat(modals): Levelup modal
Introduces a new modal that displays whenever the user levels up.
This commit is contained in:
@@ -153,6 +153,7 @@ habitrpg.controller('NotificationCtrl',
|
||||
if (after > before) {
|
||||
Notification.lvl();
|
||||
$rootScope.playSound('Level_Up');
|
||||
$rootScope.openModal('levelUp', {controller:'UserCtrl', size:'sm'});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user