How can we avoid legacy javascript (and CSS)?

Posted in: Newspaper
Post count: 4

How can we avoid legacy javascript (and CSS) being used on our site? That this is used seems to result in the page crashing when there’s interaction with WooCommerce. For example,
https://staging2.frihetsnytt.se/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js?ver=12:192

Post count: 21065

Hello @Exakt24!

All javascript files from our theme get combined into a bigger, minified javascript file which gets delivered to the client. They are important for your site’s functionality and design. Unfortunately, you can not delete them.

Thank you!

Post count: 4

There must be some way to not use very old javascript code. It makes it impossible to have other plugins on the site. For example in this picture is an event issue that was was addressed in javasript/jquery in 2018. Four years ago.


Also look at these jQuery migrate warnings. We have the newest version of the theme and plugins installed. Why is this occurring?

And lastly, there is not code in the same minified file. It is a specific file with legacy javascript.
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js?ver=12′

We do not need to use any legacy stuff at all. So how can we get away from this?

Post count: 21065

Hello @exakt!

I understand and I will add this request to our improvement list.

Thank you for understanding!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.