Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Elementor Conflict (swiper.js)

$
0
0

Replies: 0

Events Calendar Pro enqueues swiper.min.js javascript file with id “swiper”. This conflicts with Elementor swiper js resource which also names it ‘swiper’ (newer version than TEC). This causes a conflict where the wrong version gets loaded. TEC should rename the script id from ‘swiper’ to something like ‘tribe-swiper’ to avoid conflicts with the most popular page builder.

	tribe_asset(
			$plugin,
			'swiper',
			'vendor/swiper/dist/js/swiper.js',
			[],
			null,
			[]
		);

Viewing all articles
Browse latest Browse all 59525

Trending Articles