• Resolved codephunk

    (@codephunk)


    Hello,

    thanks for the plugin. It saved me a lot of time.

    But i found a little bug in lazy-load-xt.php:

    Line 168:
    wp_enqueue_script( 'lazy-load-xt-bg', $this->dir.'js/'.$jqll.'.srcset'.$min.'.js', array( 'jquery','lazy-load-xt-script' ), $this->lazyloadxt_ver );

    Line 172:
    wp_enqueue_script( 'lazy-load-xt-bg', $this->dir.'js/'.$jqll.'.script'.$min.'.js', array( 'jquery','lazy-load-xt-script' ), $this->lazyloadxt_ver );

    Line 181:
    wp_enqueue_script( 'lazy-load-xt-bg', $script_url_pre.'.bg'.$min.'.js', array( 'jquery','lazy-load-xt-script' ), $this->lazyloadxt_ver, $footer );

    You are using the same index ‘lazy-load-xt-bg’ for each of these scripts which in my case resulted in not loading the jquery.lazyloadxt.bg.js script.

    Hopefully this will help you. ??

    Cheers.

    https://www.ads-software.com/plugins/lazy-load-xt/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘BG images bug in lazy-load-xt.php’ is closed to new replies.