• Resolved Mohsin Rasool

    (@mohsinrasool)


    Hi,

    We are using this plugin quite a long time. But, with recent updates to popular Divi theme, when we select background color (by clicking on + sign), a JS error occured in console (pasted below). I am not sure what is the cause but disabling Carousel Slider fixes the issue.

    Cannot read property 'removeClass' of undefined
        at a.<computed>.<computed>.open (color-picker.min.js:1)
    ...

    Thanks

Viewing 1 replies (of 1 total)
  • Thread Starter Mohsin Rasool

    (@mohsinrasool)

    Hi

    I am able to resolve this issue by adding following code in Line #67 of carousel-slider/includes/class-carousel-slider-script.php

    global $post;
    
    $_is_carousel = is_a( $post, 'WP_Post' ) && ( 'carousels' == $post->post_type );
    if ( ! $_is_carousel ) {
    	return;
    }

    I would appreciate if you can make it part of the plugin. So, we don’t have to fix it after every update.

    Hope, it will be beneficial for some.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Conflict with Divi 4.*’ is closed to new replies.