–> -1) { window.carouselsToInit.splice(index, 1); } } } } if(!window.carouselsToInit.widgetNewsFlash7c4def9452f34316bc7409e3f5e9f867){ window.carouselsToInit.push(widgetNewsFlash7c4def9452f34316bc7409e3f5e9f867); } window.carouselsToInit.forEach(function(carouselToInit) {carouselToInit();}); if(window.Pages.onResizeHandlers){ window.Pages.onResizeHandlers.forEach(function(car){car();}); } }); if (Modernizr.touch) { var $pages = typeof window.Pages == ‘undefined’ ? window.parent.Pages : window.Pages; $.when($pages.rwdReady).done(function () { //only for responsive sites if (typeof($$) !== ‘undefined’) { $$(‘#widgetNewsFlash7c4def94-52f3-4316-bc74-09e3f5e9f867’).on(‘swipeRight’, function (e, a) { $(this).adaptiveCarousel(“moveBack”); }); $$(‘#widgetNewsFlash7c4def94-52f3-4316-bc74-09e3f5e9f867’).on(‘swipeLeft’, function (e) { $(this).adaptiveCarousel(“moveForward”); }); } }); } // –> ]]>
Source