[#1397 #1543 #1540] start adding in unlock notifications (working for some, not for all). Also some tour & header fixes

This commit is contained in:
Tyler Renelle
2013-09-17 14:07:04 -04:00
parent 1c7081495f
commit 36b3a77877
10 changed files with 103 additions and 19 deletions

View File

@@ -3,8 +3,6 @@
habitrpg.controller('NotificationCtrl',
['$scope', '$rootScope', 'User', 'Guide', 'Notification', function ($scope, $rootScope, User, Guide, Notification) {
Guide.initTour();
$rootScope.$watch('user.stats.hp', function(after, before) {
if (after == before) return;
Notification.hp(after - before, 'hp');