mirror of
https://gitlab.com/RemixDev/deemix-webui.git
synced 2025-01-04 05:46:00 +00:00
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 a new issue