heimrichhannot / contao-haste_plus

GNU Lesser General Public License v3.0
0 stars 4 forks source link

fix loading order in debug mode #15

Closed fritzmg closed 5 years ago

fritzmg commented 5 years ago

When using the dev/debug mode in Contao 4.7+, the statically included JavaScript resources will not be combined into one file and instead will be included individually. However, this messes with the loading order. Thus in dev/debug mode, jQuery is included after the other scripts, leading to JavaScript errors because jQuery is missing.

koertho commented 5 years ago

Have you tested it in Contao 4.4?

fritzmg commented 5 years ago

No, just 4.7. I don't expect the changes to be a problem for 4.4.

koertho commented 5 years ago

@fritzmg You should be right :) thanks for fixing.