Skip to content
Snippets Groups Projects
Commit 80821038 authored by Eric Bremner's avatar Eric Bremner Committed by Martin Leblanc
Browse files

ISTWCMS-5713: fixing autoplay on banners

parent 6ae7dd64
No related branches found
No related tags found
1 merge request!21Feature/istwcms 5713 ebremner banners
......@@ -28,7 +28,7 @@
// If there is no autoplay, or we are in layout builder,
// set flag to false.
if ($(this).attr('data-autoplay') !== 1 || $('.layout-builder').length) {
if ($(this).attr('data-autoplay') === 0 || $('.layout-builder').length) {
bannerAutoplay = false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment