mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
Moved dropClass to correct scope.
This commit is contained in:
@@ -78,8 +78,8 @@ angular.module("habitrpg").factory("Notification",
|
||||
notify(window.env.t('streakName') + ': ' + val, 'streak', 'glyphicon glyphicon-repeat');
|
||||
},
|
||||
drop: function(val, item) {
|
||||
var dropClass = "";
|
||||
if ( item !== undefined ) {
|
||||
var dropClass = "";
|
||||
switch ( item.type ) {
|
||||
case "Egg":
|
||||
dropClass = 'Pet_Egg_' + item.key;
|
||||
|
||||
Reference in New Issue
Block a user