Merge pull request #6949 from MrPetovan/bug/6947-frio-fix-fake-form
[frio] Switch comment box closing event listener from click to mousedown
This commit is contained in:
		
				commit
				
					
						1c2a77c47f
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -282,7 +282,7 @@ $(document).ready(function(){
 | 
			
		|||
	 * We are making an exception for buttons because of a race condition with the
 | 
			
		||||
	 * comment opening button that results in an already closed comment UI.
 | 
			
		||||
	 */
 | 
			
		||||
	$(document).on('click', function(event) {
 | 
			
		||||
	$(document).on('mousedown', function(event) {
 | 
			
		||||
		if (event.target.type === 'button') {
 | 
			
		||||
			return true;
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue