mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
jQuery-ize the 404 page Google search
This commit is contained in:
parent
147e4bf056
commit
6b209f0d7e
@ -37,8 +37,7 @@
|
||||
|
||||
<script language="Javascript">
|
||||
function google_button_clicked(e) {
|
||||
var searchValue = document.getElementById('user-query').value;
|
||||
document.getElementById('google-query').value = 'site:<%= local_domain %> ' + searchValue;
|
||||
$('google-query').value = 'site:<%= local_domain %> ' + $('user-query').value;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user