mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 16:35:47 +01:00
trigger action:ajaxify.contentLoaded on cold load as well
This commit is contained in:
@@ -524,6 +524,10 @@ var socket,
|
|||||||
ajaxify.variables.parse();
|
ajaxify.variables.parse();
|
||||||
ajaxify.currentPage = url;
|
ajaxify.currentPage = url;
|
||||||
|
|
||||||
|
$window.trigger('action:ajaxify.contentLoaded', {
|
||||||
|
url: url
|
||||||
|
});
|
||||||
|
|
||||||
if (window.history && window.history.replaceState) {
|
if (window.history && window.history.replaceState) {
|
||||||
window.history.replaceState({
|
window.history.replaceState({
|
||||||
url: url + search + hash
|
url: url + search + hash
|
||||||
|
|||||||
Reference in New Issue
Block a user