mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
be more explicit about priority value vs context class
This commit is contained in:
2
common/dist/scripts/habitrpg-shared.js
vendored
2
common/dist/scripts/habitrpg-shared.js
vendored
@@ -5208,7 +5208,7 @@ api.taskClasses = function(task, filters, dayStart, lastCron, showCompleted, mai
|
||||
classes += ' difficulty-easy';
|
||||
} else if (priority === 1.5) {
|
||||
classes += ' difficulty-medium';
|
||||
} else {
|
||||
} else if (priority === 2) {
|
||||
classes += ' difficulty-hard';
|
||||
}
|
||||
if (value < -20) {
|
||||
|
||||
Reference in New Issue
Block a user