Submenu in Chrome loaded very late

Posted in: Newsmag
Post count: 114

Hi,
the submenu icons in Chrome are loaded very late.
I am using WP Rocket, do I have to define a JavaScript exception?
Thank you and best regards,
Luke

Post count: 35449

Hi,
Indeed, this can be some option from WP Rocket, that make the css or JavaScript for the dropdown menu to load letter, but to be sure for this, please make a test, disable the WP Rocket, and see if the problem persist or not.
Let me know the results!
Thank you!

Post count: 114

Hi Calin,

I can confirm that WP Rocket caused this issue in Google Chrome.

Which js-file do Newsmag use? I think I have to list this file at the WP-Rocket’s exceptions.

Thank you and best regards,
Luke

Post count: 35449

Hi,
If I’m right the js file that is used for the menu is on this path wp-content/plugins/td-composer/legacy/Newsmag/js/tagdiv_theme.min.js
I hope this will help you!
Thank you!

Post count: 114

Hi Calin,

if I put this file to the exceptions, I get this message in the JS console:

tagdiv_theme.min.js?ver=4.9.6:5 Uncaught TypeError: Cannot read property 'easing' of undefined
    at tagdiv_theme.min.js?ver=4.9.6:5

Best regards,
Luke

  • This reply was modified 5 years by luke-tt.
Post count: 35449

Hi,
I think that this problem is because the js files are trying to use some css that it is not yet loaded, you need to try to load the theme css faster (in head of the page), or make a test by disabling the css optimizer option from WP Rocket.
Thank you!

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