mirror of
				https://github.com/mdbootstrap/mdb-ui-kit.git
				synced 2025-11-04 01:47:35 +03:00 
			
		
		
		
	rippleOut on click and touchend
This commit is contained in:
		
							parent
							
								
									c1c47c7e62
								
							
						
					
					
						commit
						71bb68967f
					
				| 
						 | 
				
			
			@ -148,7 +148,7 @@
 | 
			
		|||
      }, 500);
 | 
			
		||||
 | 
			
		||||
      // On mouseup or on mouseleave, set the mousedown flag to "off" and try to destroy the ripple
 | 
			
		||||
      element.on("mouseup mouseleave", function() {
 | 
			
		||||
      element.on("mouseup mouseleave click touchend", function() {
 | 
			
		||||
        ripple.data("mousedown", "off");
 | 
			
		||||
        // If the transition "on" is finished then we can destroy the ripple with transition "out"
 | 
			
		||||
        if (ripple.data("animating") == "off") {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user