mirror of
				https://github.com/mdbootstrap/mdb-ui-kit.git
				synced 2025-11-04 01:47:35 +03:00 
			
		
		
		
	fixed click on firefox
This commit is contained in:
		
							parent
							
								
									8c78d8a57b
								
							
						
					
					
						commit
						42494e245b
					
				| 
						 | 
					@ -1,3 +1,4 @@
 | 
				
			||||||
 | 
					/* Copyright 2014+, Federico Zivolo, LICENSE at https://github.com/FezVrasta/bootstrap-material-design/blob/master/LICENSE.md */
 | 
				
			||||||
/* globals CustomEvent */
 | 
					/* globals CustomEvent */
 | 
				
			||||||
var ripples = {
 | 
					var ripples = {
 | 
				
			||||||
    init : function(withRipple) {
 | 
					    init : function(withRipple) {
 | 
				
			||||||
| 
						 | 
					@ -72,6 +73,7 @@ var ripples = {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            // Let ripple fade out (with CSS)
 | 
					            // Let ripple fade out (with CSS)
 | 
				
			||||||
            setTimeout(function() {
 | 
					            setTimeout(function() {
 | 
				
			||||||
 | 
					                $ripple.parentNode.parentNode.click();
 | 
				
			||||||
                $ripple.remove();
 | 
					                $ripple.remove();
 | 
				
			||||||
            }, rippleOutTime);
 | 
					            }, rippleOutTime);
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user