mirror of
https://github.com/urbanguacamole/torrent-paradise
synced 2024-10-31 21:20:13 +00:00
Add ability to launch search by hitting Enter
This commit is contained in:
parent
925f383201
commit
ac37fbf337
@ -6,4 +6,10 @@ window.addEventListener("message", receiveMessage, false);
|
|||||||
|
|
||||||
function receiveMessage(event){
|
function receiveMessage(event){
|
||||||
app.resultPageHeight = event.data
|
app.resultPageHeight = event.data
|
||||||
|
}
|
||||||
|
|
||||||
|
document.getElementById('searchbox').onkeydown = function(event) {
|
||||||
|
if (event.keyCode == 13) {
|
||||||
|
searchTriggered()
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user