mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
fixed #698 - ajaxify.go will now cancel any active API requests when it is called
This commit is contained in:
@@ -49,9 +49,9 @@ var ajaxify = {};
|
||||
// end
|
||||
|
||||
if ($('#content').hasClass('ajaxifying')) {
|
||||
return true;
|
||||
templates.cancelRequest();
|
||||
}
|
||||
|
||||
|
||||
// Remove trailing slash
|
||||
url = url.replace(/\/$/, "");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user