I
I
Ilia Malashko2019-10-21 09:02:09
bash
Ilia Malashko, 2019-10-21 09:02:09

Why does the FlexSlider plugin fall off?

Hello.

On the landing page for the Kartikon slider, the jQuery FlexSlider plugin is installed.
Sometimes (consistency not detected) the js file of the plugin is not connected, the browser gives an error when calling the function of this plugin: TypeError $(...).flexslider.

The problem is that in most downloads the plugin connects and works correctly.
The plugin is connected to the page first

<script async src="/template/js/slick/slick.min.js"></script>

Then the file where it is called:
<script async src="/template/js/script.js"></script>


Maybe the problem is that js files are pulled asynchronously?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2018-08-09
@Tolly

e.g. https://ideone.com/7DA9ZK
or get a sorted list of files right away: compare the output of ls -tla and ls -trla .

P
Pashchuk Ilya, 2019-10-22
@IlyaDeveloper

Is the project big? If the project is not big, it can be easier or do everything in one bundle and just connect one bundle

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question