Base theme for LMMI Journal
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

17 lines
643 B

(function ($, Drupal, drupalSettings) {
Drupal.behaviors.mtOwlCarouselPostsSlider = {
attach: function (context, settings) {
$(context).find('.mt-slider-posts').once('mtOwlCarouselPostsSliderInit').each(function() {
$(this).owlCarousel({
items: 1,
autoplay: drupalSettings.magazineplus.owlCarouselPostsSliderInit.owlPostsSliderAutoPlay,
autoplayTimeout: drupalSettings.magazineplus.owlCarouselPostsSliderInit.owlPostsSliderEffectTime,
nav: true,
dots: false,
loop: true,
navText: false
});
})
}
};
})(jQuery, Drupal, drupalSettings);