Fix error message classes

This commit is contained in:
Isaac Bythewood
2016-02-04 19:29:48 +00:00
parent 9185e946ac
commit 5cda896eed
3 changed files with 5 additions and 5 deletions

View File

@@ -124,7 +124,7 @@ $(window).load(function() {
editedPin = null;
});
promise.error(function() {
message('Problem updating image.', 'alert alert-error');
message('Problem updating image.', 'alert alert-danger');
});
} else {
var data = {
@@ -144,7 +144,7 @@ $(window).load(function() {
dismissModal(modal);
});
promise.error(function() {
message('Problem saving image.', 'alert alert-error');
message('Problem saving image.', 'alert alert-danger');
});
}
});