It would be great to have a hook for if the target location is 'already' active eg
.on(
'/my-posts',
function () {
navHome()
scrollTop()
},
already: function () {
scrollTop()
}
})
As currently this will not call the .on function if you are already at /my-posts. Alternatively it would be great to have a function to enable re-triggering of the .on function
Thanks for all your help!
It would be great to have a hook for if the target location is 'already' active eg
As currently this will not call the .on function if you are already at /my-posts. Alternatively it would be great to have a function to enable re-triggering of the .on function
Thanks for all your help!