mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-04 03:27:06 -05:00 
			
		
		
		
	
						commit
						b1c6b0a3f1
					
				@ -17,7 +17,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    addListener(w, 'load', function () {
 | 
					    addListener(w, 'load', function () {
 | 
				
			||||||
        var qinput = d.getElementById('q');
 | 
					        var qinput = d.getElementById('q');
 | 
				
			||||||
        if (qinput !== null) {
 | 
					        if (qinput !== null && qinput.value === "") {
 | 
				
			||||||
            addListener(qinput, 'focus', placeCursorAtEnd);
 | 
					            addListener(qinput, 'focus', placeCursorAtEnd);
 | 
				
			||||||
            qinput.focus();
 | 
					            qinput.focus();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,6 @@
 | 
				
			|||||||
<form method="post" action="/" id="search_form">
 | 
					<form method="post" action="/" id="search_form">
 | 
				
			||||||
<div id="search_wrapper">
 | 
					<div id="search_wrapper">
 | 
				
			||||||
    <input type="text" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
 | 
					    <input type="text" id="q" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
 | 
				
			||||||
    <input type="submit" value="" id="search_submit" />
 | 
					    <input type="submit" value="" id="search_submit" />
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
    <div>
 | 
					    <div>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user