diff --git a/frontend/static/js/entries.js b/frontend/static/js/entries.js index 0a06781..d134941 100644 --- a/frontend/static/js/entries.js +++ b/frontend/static/js/entries.js @@ -158,7 +158,7 @@ var EntryController = function($scope, $http, $rootScope, $filter) { } if(entry.sold < $scope.account.authorized_overdraft) { - cssclass += " error"; + cssclass += " danger"; } else if (entry.sold < 0) { cssclass += " warning"; } @@ -169,7 +169,7 @@ var EntryController = function($scope, $http, $rootScope, $filter) { // Returns the CSS class for an entry sold. $scope.entryValueClass = function(sold) { if(sold && sold < $scope.account.authorized_overdraft) { - return 'text-error'; + return 'text-danger'; } else if (sold && sold < 0) { return 'text-warning'; }