woocommerce / FlexSlider

An awesome, fully responsive jQuery slider plugin
http://www.woocommerce.com/flexslider/
GNU General Public License v2.0
4.91k stars 1.69k forks source link

Fix #25641: Gallery thumbnails without size #1799

Closed Mte90 closed 2 years ago

Mte90 commented 3 years ago

This should silence the lighthouse warnings, based on the code of https://github.com/woocommerce/woocommerce/issues/25461#issuecomment-845673185

If you want to use this version in your theme, put this js file in theme:

wp_deregister_script('flexslider');
wp_register_script( 'flexslider', get_stylesheet_directory_uri() . '/js/jquery.flexslider.js', array( 'jquery' ) );
Mte90 commented 2 years ago

Fix https://github.com/woocommerce/woocommerce/pull/31407/