Merge pull request #13912 from woocommerce/fix-13910
Fade gallery in if no images are set.
This commit is contained in:
commit
bb6d64c56a
|
@ -79,6 +79,7 @@ jQuery( function( $ ) {
|
|||
|
||||
// No images? Abort.
|
||||
if ( 0 === this.$images.length ) {
|
||||
this.$target.css( 'opacity', 1 );
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue