From c95c6a4c3b3fb3de1f5edff7c866f20ecc75b959 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Wed, 12 Feb 2014 21:24:50 -0700 Subject: [PATCH] chore(modals): remove mathUpdates modal (no longer in use). reference this commit for any future emergency updates --- public/js/controllers/notificationCtrl.js | 6 ------ views/shared/modals/new-stuff.jade | 14 -------------- 2 files changed, 20 deletions(-) diff --git a/public/js/controllers/notificationCtrl.js b/public/js/controllers/notificationCtrl.js index 1650a36f25..82c42af8a7 100644 --- a/public/js/controllers/notificationCtrl.js +++ b/public/js/controllers/notificationCtrl.js @@ -115,12 +115,6 @@ habitrpg.controller('NotificationCtrl', } }); - // Math updates modal - $rootScope.$watch('!user.flags.mathUpdates', function(after, before){ - if (after == before || after != true) return; - $rootScope.openModal('mathUpdates'); - }); - // Completed quest modal $rootScope.$watch('user.party.quest.completed', function(after, before){ if (after == before || after != true) return; diff --git a/views/shared/modals/new-stuff.jade b/views/shared/modals/new-stuff.jade index ebdf889759..ddab4fbd92 100644 --- a/views/shared/modals/new-stuff.jade +++ b/views/shared/modals/new-stuff.jade @@ -1,17 +1,3 @@ -//-div(modal='!user.flags.mathUpdates') -script(type='text/ng-template', id='modals/mathUpdates.html') - .modal-header - h4 Math Updates - .modal-body - .npc_tyler.pull-left - p Hey all, Tyler here. Sorry for the rocky numbers (Exp, GP, etc) with the Class System roll-out! We're tweaking the math today, and things should be mostly finalized by tomorrow. Follow our progress here, and please do chime in! - br - p We've also changed classes to unlock at lvl 10 instead of 5, to prevent overwhelming our new users. And since users have expressed confusion, we'll be improving UI and clarifification. Stay tuned. - br - p iOS users, iTunes is on vacation until 12/28. Until we can push the updated app, you'll need to sync periodically to get the corrected numbers (app has old math, server saves the correct numbers). Android goes out ASAP. More info on Trello. - .modal-footer - button.btn.btn-default(ng-click='User.set({"flags.mathUpdates":true}); $close()') Dismiss - script(type='text/ng-template', id='modals/newStuff.html') .modal-header h4 New Stuff!