Reply To: Not working correctly

#94094
Tom Anbinder
Moderator
Plugin Support

If anyone else has a similar question – as we’ve figured out in private emails:

1. When installed on my test server, the plugin didn’t have any compatibility issues with “Porto” theme.

2. On Dean’s server it was indeed not working correctly – this happened because of JavaScript error that came from Porto theme’s “portojswoocommerce-theme.js” file:

Uncaught TypeError: Cannot set property 'src' of undefined)

This error stopped our plugin’s JavaScript code from executing properly. To fix this we have replaced on line 1950 in “portojswoocommerce-theme.js” from:

if (typeof links != 'undefined') {

to:

if (typeof links != 'undefined' && 0 != links.length) {