Skip to content

Commit 99b7701

Browse files
committed
PB-266: Video background for Slide
1 parent b368135 commit 99b7701

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/PageBuilder/view/base/web/js/content-type/slide/appearance/default

1 file changed

+1
-1
lines changed

app/code/Magento/PageBuilder/view/base/web/js/content-type/slide/appearance/default/widget.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ define([
3131
}
3232
});
3333
$slider.on('beforeChange', function (event, slick) {
34-
var currentVideoSlide = slick.$slides[slick.currentSlide].querySelector('.jarallax');
34+
currentVideoSlide = slick.$slides[slick.currentSlide].querySelector('.jarallax');
3535

3636
if (currentVideoSlide.jarallax.options.videoPlayOnlyVisible) {
3737
currentVideoSlide.jarallax.video.pause();

0 commit comments

Comments
 (0)