D
D
danilr2020-02-14 08:01:16
JavaScript
danilr, 2020-02-14 08:01:16

Why is DOMContentLoaded not working and how to fix it?

There is a site on laravel + Vue, GoogleTagManager is connected to it, in the admin panel of which the Marquiz script is connected.
And this is how the HOUSE tree looks like with scripts connected to it. But for some reason DOMContentLoaded does not work here. Why and how can I fix it?
5e4629f68ffe7614080122.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2020-02-14
@danilr

If the document was loaded before this script was inserted, then it will not work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question