From e6068b23a741f629d05447072300cfa4f27ecdcc Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Wed, 2 Sep 2015 17:03:32 -0400 Subject: [PATCH] feat(analytics): Track low health modal --- website/public/js/controllers/notificationCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/public/js/controllers/notificationCtrl.js b/website/public/js/controllers/notificationCtrl.js index ffc475ac48..06c8dc74be 100644 --- a/website/public/js/controllers/notificationCtrl.js +++ b/website/public/js/controllers/notificationCtrl.js @@ -9,7 +9,7 @@ habitrpg.controller('NotificationCtrl', $rootScope.playSound('Death'); $rootScope.openModal('death', {keyboard:false, backdrop:'static'}); } else if (after <= 30 && !User.user.flags.warnedLowHealth) { - $rootScope.openModal('lowHealth', {keyboard:false, backdrop:'static', controller:'UserCtrl'}); + $rootScope.openModal('lowHealth', {keyboard:false, backdrop:'static', controller:'UserCtrl', track:'Health Warning'}); } if (after == before) return; if (User.user.stats.lvl == 0) return;