mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 23:45:45 +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).off('scroll');
|
||||||
|
|
||||||
$(window).trigger('action:ajaxify.start', { url: url });
|
$(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')) {
|
if ($('#content').hasClass('ajaxifying')) {
|
||||||
templates.cancelRequest();
|
templates.cancelRequest();
|
||||||
|
|||||||
Reference in New Issue
Block a user