From 2566ddac9481941428edcb03d10a586c1d88e179 Mon Sep 17 00:00:00 2001 From: Alice Harris Date: Tue, 12 Aug 2014 07:14:50 +1000 Subject: [PATCH] fixes missing drop notifications - fixes https://github.com/HabitRPG/habitrpg/issues/3787 --- public/js/controllers/notificationCtrl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/controllers/notificationCtrl.js b/public/js/controllers/notificationCtrl.js index 198a37ba83..f014b27539 100644 --- a/public/js/controllers/notificationCtrl.js +++ b/public/js/controllers/notificationCtrl.js @@ -70,11 +70,11 @@ habitrpg.controller('NotificationCtrl', }else if(after.type === 'Egg'){ var text = Content.eggs[after.key].text(); var notes = Content.eggs[after.key].notes(); - Notification.after(env.t('messageDropEgg', {dropText: text, dropNotes: notes})); + Notification.drop(env.t('messageDropEgg', {dropText: text, dropNotes: notes})); }else if(after.type === 'Food'){ var text = Content.food[after.key].text(); var notes = Content.food[after.key].notes(); - Notification.after(env.t('messageDropFood', {dropArticle: after.article, dropText: text, dropNotes: notes})); + Notification.drop(env.t('messageDropFood', {dropArticle: after.article, dropText: text, dropNotes: notes})); }else{ // Keep support for another type of drops that might be added Notification.drop(User.user._tmp.drop.dialog);