rechanged keydown with keyup to prevent requests spam
This commit is contained in:
parent
aa4cc2a207
commit
f094171583
@ -149,7 +149,7 @@ var playlistSearch = new Vue({
|
|||||||
})
|
})
|
||||||
|
|
||||||
// Search section
|
// Search section
|
||||||
$("#searchbar").keydown(function(e){
|
$("#searchbar").keyup(function(e){
|
||||||
if(e.keyCode == 13){
|
if(e.keyCode == 13){
|
||||||
term = this.value
|
term = this.value
|
||||||
if (isValidURL(term)){
|
if (isValidURL(term)){
|
||||||
|
Loading…
Reference in New Issue
Block a user