mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 00:09:41 +00:00
Moved dropClass to correct scope.
This commit is contained in:
parent
a7873a41a1
commit
1a6b828e05
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue