diff --git a/pinry/static/js/lightbox.js b/pinry/static/js/lightbox.js index b588576..793aaa5 100644 --- a/pinry/static/js/lightbox.js +++ b/pinry/static/js/lightbox.js @@ -83,7 +83,7 @@ $(window).load(function() { createBox(pin); }); promise.error(function() { - message('Problem problem fetching pin data.', 'alert alert-error'); + message('Problem problem fetching pin data.', 'alert alert-danger'); }); } return links.each(function() { @@ -95,7 +95,7 @@ $(window).load(function() { createBox(pin); }); promise.error(function() { - message('Problem problem fetching pin data.', 'alert alert-error'); + message('Problem problem fetching pin data.', 'alert alert-danger'); }); }); }); diff --git a/pinry/static/js/pin-form.js b/pinry/static/js/pin-form.js index 7147346..5842c52 100644 --- a/pinry/static/js/pin-form.js +++ b/pinry/static/js/pin-form.js @@ -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'); }); } }); diff --git a/pinry/static/js/pinry.js b/pinry/static/js/pinry.js index b9f93de..230a1e7 100644 --- a/pinry/static/js/pinry.js +++ b/pinry/static/js/pinry.js @@ -70,7 +70,7 @@ $(window).load(function() { tileLayout(); }); promise.error(function() { - message('Problem deleting image.', 'alert alert-error'); + message('Problem deleting image.', 'alert alert-danger'); }); }); });