mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
jQuery-ize the 404 page Google search
This commit is contained in:
parent
147e4bf056
commit
6b209f0d7e
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue