mirror of
https://github.com/pinry/pinry.git
synced 2025-11-14 00:55:43 +01:00
Improve error message system and add errors to basic functions
This commit is contained in:
@@ -75,6 +75,9 @@ $(window).load(function() {
|
||||
promise.success(function(pin) {
|
||||
createBox(pin);
|
||||
});
|
||||
promise.error(function() {
|
||||
message('Problem problem fetching pin data.', 'alert alert-error');
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user