mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 10:16:12 +01:00
closes #5156
This commit is contained in:
@@ -272,6 +272,9 @@ $(document).ready(function () {
|
||||
apiXHR = $.ajax({
|
||||
url: RELATIVE_PATH + '/api/' + url,
|
||||
cache: false,
|
||||
headers: {
|
||||
'X-Return-To': app.previousUrl
|
||||
},
|
||||
success: function (data) {
|
||||
if (!data) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user