Fixed errors with keydown and keyup on desktop

This commit is contained in:
Kasper Rynning-Tønnesen
2016-04-28 10:11:00 +02:00
parent 220f31b291
commit 34b83a1e05
5 changed files with 17 additions and 11 deletions

View File

@@ -24,7 +24,6 @@ var Search = {
if(window.search_input !== ""){
searching = true;
var keyword= encodeURIComponent(window.search_input);
//response= x
var yt_url = "https://www.googleapis.com/youtube/v3/search?key="+api_key+"&videoEmbeddable=true&part=id&fields=items(id)&type=video&order=viewCount&safeSearch=none&maxResults=25";
yt_url+="&q="+keyword;