diff --git a/src/html/js/entries.js b/src/html/js/entries.js
index 9d4386b..27b4014 100644
--- a/src/html/js/entries.js
+++ b/src/html/js/entries.js
@@ -128,7 +128,7 @@ var EntryController = function($scope, $http, $rootScope, $filter) {
$scope.entryRowClass = function(sold) {
if(sold < $scope.account.authorized_overdraft) {
return 'error';
- } else if (esold < 0) {
+ } else if (sold < 0) {
return 'warning';
}
};