mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 19:21:04 +01:00
fix chat redirect
This commit is contained in:
@@ -222,9 +222,7 @@ $(document).ready(function() {
|
||||
|
||||
$(window).trigger('action:ajaxify.dataLoaded', {url: url, data: data});
|
||||
|
||||
if (callback) {
|
||||
callback(null, data);
|
||||
}
|
||||
callback(null, data);
|
||||
},
|
||||
error: function(data, textStatus) {
|
||||
if (data.status === 0 && textStatus === 'error') {
|
||||
|
||||
Reference in New Issue
Block a user