mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 08:55:47 +01:00
changed to wrapper alert functions
This commit is contained in:
@@ -87,12 +87,7 @@ $(document).ready(function() {
|
||||
|
||||
socket.emit('api:user.changePicture', userData, function(success) {
|
||||
if(!success) {
|
||||
app.alert({
|
||||
title: 'Error',
|
||||
message: 'There was an error changing picture!',
|
||||
type: 'error',
|
||||
timeout: 2000
|
||||
});
|
||||
app.alertError('There was an error changing picture!');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user