mirror of
				https://github.com/mdbootstrap/mdb-ui-kit.git
				synced 2025-10-30 23:47:42 +03:00 
			
		
		
		
	fixed buttons on safari
This commit is contained in:
		
							parent
							
								
									8af64adc57
								
							
						
					
					
						commit
						2c18bd2d13
					
				|  | @ -57,7 +57,7 @@ var ripples = { | ||||||
|             $ripple.setAttribute("style", $ripple.getAttribute("style") + ["-ms-" + scale,"-moz-" + scale,"-webkit-" + scale,scale].join(";")); |             $ripple.setAttribute("style", $ripple.getAttribute("style") + ["-ms-" + scale,"-moz-" + scale,"-webkit-" + scale,scale].join(";")); | ||||||
| 
 | 
 | ||||||
|             // Dirty fix for Firefox... seems like absolute elements inside <A> tags do not trigger the "click" event
 |             // Dirty fix for Firefox... seems like absolute elements inside <A> tags do not trigger the "click" event
 | ||||||
|             if (/firefox|crios|ip(ad|hone|od)/i.test(navigator.userAgent)) { |             if (/firefox|crios|safari|ip(ad|hone|od)/i.test(navigator.userAgent)) { | ||||||
|                 $el.click(); |                 $el.click(); | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user