A
A
Alexander2021-08-20 11:38:42
1C-Bitrix
Alexander, 2021-08-20 11:38:42

Bitrix. Move JS files to the end of the template. Why don't the scripts work then?

In the settings I turn on "Move all Javascript to the end of the page"
Then the JS library falls off.

I connect first Bootstrap then Slinky via

Asset::getInstance()->addJs(SITE_TEMPLATE_PATH . "/js/myscripts.js");


But Slinky stops working. What could be the problem? Where to dig?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question