samtto I quite like the idea of the bottom navigation bar, and have included it on my site to address the issues you stated. The actual problem here is that when on the actual discussion, there is no event to bind to
9(index):319 Uncaught TypeError: Cannot read property 'click' of null
at deneme ((index):319)
at HTMLButtonElement.onclick ((index):300)
deneme @ (index):319
onclick @ (index):300
You would need to find the event for this function, then bind to that. However, you'd need to ensure that the JS ran on all pages, as at present, it only loads once when the site loads (Flarum is an SPA). You could use the Direct Links extension to do the same I expect rather than JS ?