jQuery-ize the 404 page Google search
This commit is contained in:
parent
147e4bf056
commit
6b209f0d7e
|
@ -37,8 +37,7 @@
|
||||||
|
|
||||||
<script language="Javascript">
|
<script language="Javascript">
|
||||||
function google_button_clicked(e) {
|
function google_button_clicked(e) {
|
||||||
var searchValue = document.getElementById('user-query').value;
|
$('google-query').value = 'site:<%= local_domain %> ' + $('user-query').value;
|
||||||
document.getElementById('google-query').value = 'site:<%= local_domain %> ' + searchValue;
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue