mirror of
				https://github.com/mdbootstrap/mdb-ui-kit.git
				synced 2025-10-30 23:47:42 +03:00 
			
		
		
		
	Fix ripple effect for touch devices
This commit is contained in:
		
							parent
							
								
									c5cde3f98e
								
							
						
					
					
						commit
						25dbdcbdd7
					
				|  | @ -173,7 +173,7 @@ | |||
|        */ | ||||
|       event = event.originalEvent; | ||||
| 
 | ||||
|       if(event.touches.length !== 1) { | ||||
|       if(event.touches.length === 1) { | ||||
|         return event.touches[0].pageX - wrapperOffset.left; | ||||
|       } | ||||
| 
 | ||||
|  | @ -200,7 +200,7 @@ | |||
|        */ | ||||
|       event = event.originalEvent; | ||||
| 
 | ||||
|       if(event.touches.length !== 1) { | ||||
|       if(event.touches.length === 1) { | ||||
|         return event.touches[0].pageY - wrapperOffset.top; | ||||
|       } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user