forked from zaclys/searxng
		
	[fix] Text can't be selected when using simple theme with JS enabled
Closes: https://github.com/searxng/searxng/issues/794 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
		
							parent
							
								
									728b2b5796
								
							
						
					
					
						commit
						022479d4c2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -32,7 +32,7 @@ searxng.ready(function () {
 | 
			
		|||
    return resultElement && resultElement.classList.contains('result-images');
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  searxng.on('.result', 'click', function (e) {
 | 
			
		||||
  searxng.on('.result', 'mousedown', function (e) {
 | 
			
		||||
    if (!isElementInDetail(e.target)) {
 | 
			
		||||
      highlightResult(this)(true);
 | 
			
		||||
      let resultElement = getResultElement(e.target);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue