Javascript executes only when I refresh page on a browser, but it does not execute when the page renders first time after following a link.
I use Symfony 7 on Mysql database.
<a class="btn btn-success rounded-pill" href="{{ path('fill_and_sign_contract', {'id': contract.getId()}) }}">Sign</a>
After pressing the link page loads very quickly, but javascript does not executes.
I am working locally on my dev environment and I use Symfony debug toolbar.
2