Updated find-div to say how many were found, and the current found in the array.

- Fixed bug where updating the searchtext when CTRL+F (find) didn't reset the search in the list
- Fixed bug where using the find function when a song is changed didn't reset the search
This commit is contained in:
Kasper Rynning-Tønnesen
2017-09-06 12:39:24 +02:00
parent 84cbdfaba0
commit 95a15f4b6e
6 changed files with 57 additions and 4 deletions

View File

@@ -127,6 +127,8 @@ var List = {
if(full_playlist.length > 0) {
Player.sendNext({title: full_playlist[0].title, videoId: full_playlist[0].id});
}
found_array = [];
found_array_index = 0;
//if(!w_p) List.dragging(true);
break;
}