@PitaJ No error. But after your reply looked again and saw what I guess is the default way of doing this on Nodebb. And with $(window).on('action:ajaxify.end', function( ) it works as it should. Thank you.
@yariplus Looking at the main package.json I notice that although my theme from local folder works untill something happens - and I have the problem described here - it's not listed there.
Before deciding for Nodebb tried another app relying on composer and I had to manually add my local plugins, templates to main composer.json. I have to add my local theme to package.json the same way, here?
Made a child theme based on Persona for some edits. Instead of publishing it to npm symlinked it, theme folder being outside public_html( where nodebb install resides). How can I load a js file to use with it? If I put ./nodebb-theme-mytheme/lib/script.js" inside plugins.json doesn't work.
This is my first day with NodeBB and I don't know how everything works.
Since the site is basically new, but testing different bits here and there, I was a little bit worried getting two times an error page with Excessive Load Warning. I have a VPS with one core and 2GB of RAM.