fix
This commit is contained in:
parent
69c20952ad
commit
6f8862b631
@ -14,6 +14,7 @@ function inject_search(elem) {
|
||||
button.innerHTML = "search";
|
||||
|
||||
function inject_search_result(r) {
|
||||
if(!r)return;
|
||||
var e = document.createElement("div");
|
||||
var a = document.createElement("a");
|
||||
a.href = r.URL;
|
||||
@ -63,10 +64,12 @@ function inject_search(elem) {
|
||||
};
|
||||
|
||||
input.onsubmit = function(ev) {
|
||||
if (ev.keyCode == 13)
|
||||
search();
|
||||
};
|
||||
|
||||
newsgroup.onsubmit = function(ev) {
|
||||
newsgroup.onkeydown = function(ev) {
|
||||
if (ev.keyCode == 13)
|
||||
search();
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user