mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 15:35:47 +01:00
added back 'body' trigger - to be deprecated in 0.4x
This commit is contained in:
@@ -38,7 +38,7 @@ var ajaxify = {};
|
||||
$(window).off('scroll');
|
||||
|
||||
$(window).trigger('action:ajaxify.start', { url: url });
|
||||
$(window).trigger('action:ajaxifying', {url: url}); // Deprecated as of v0.4.0
|
||||
$('body').trigger('action:ajaxifying', {url: url}); // Deprecated as of v0.4.0
|
||||
|
||||
if ($('#content').hasClass('ajaxifying')) {
|
||||
templates.cancelRequest();
|
||||
|
||||
Reference in New Issue
Block a user