themes/demo/assets/js/custom.js
//Add some fallbacks for touch devices
Add some fallbacks for touch devices
Add some fallbacks for touch devices
function touchDevices(){
	if(isTouchSupported()){
		$('body').addClass('touch-device');
	}else{
		$('.videobg-fallback').on('click',function(e){
			e.preventDefault();
			return false
		});
	}
}
function touchDevices ( ) { if ( isTouchSupported ( ) ) { $ ( 'body' ) . addClass ( 'touch-device' ) ; } else { $ ( '.videobg-fallback' ) . on ( 'click' , function ( e ) { e . preventDefault ( ) ; return false } ) ; } }
Add some fallbacks for touch devices
Add some fallbacks for touch devices