JS minify: Pro Navbar Dropdown not working anymore, which JS files to exclude?

Hi,

I am using JavaScript minify- and combine-functionality to speed up our pages.
I’ve experienced that the navbars dropdown (Pro Headers Inline Navigation element in this case) stops working when combine function is active (using WP Rocket Plugin).

I am trying to find the right JS file(s) to exclude but till now could not find the right ones… can you tell me which JS files are used by your theme for this dropdown menus? I’ve already excluded this files without success:

/wp-content/themes/pro/framework/dist/js/site/x.js
/wp-content/themes/pro/cornerstone/assets/dist/js/site/(.).js
/wp-content/themes/pro/cornerstone/assets/dist-app/js/(.
).js

Thanks a lot!

Hi Alex,

Thanks for reaching out.
There are few more JavaScript files are used in the Theme and can’t be specific on which the Navigation element use. I would suggest you check by excluding the following files once and let us know how that works.

wp-content\themes\pro\framework\dist\js\admin\x-menus.js
wp-content\themes\pro\cornerstone\includes\tco\dist\js\tco.js
wp-content\themes\pro\lib\cs-ember-addon\index.js

Please remember that the minification or issue related to it is out of the scope of theme support.

Thanks

1 Like

Got it solved. Thanks for the .js infos!

Hi Alex,

Glad that we are able to help you.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.