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
@ -7,3 +7,9 @@ window.addEventListener("message", receiveMessage, false);
|
||||
function receiveMessage(event){
|
||||
app.resultPageHeight = event.data
|
||||
}
|
||||
|
||||
document.getElementById('searchbox').onkeydown = function(event) {
|
||||
if (event.keyCode == 13) {
|
||||
searchTriggered()
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user