From 81d8380c4a5751b1b1313d061e0ed7b14419ca7c Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Fri, 5 Jun 2015 18:08:34 +0200 Subject: [PATCH] Fix Boostrap style. --- frontend/static/js/entries.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'; }