Removing song from results when clicked add many button

This commit is contained in:
Kasper Rynning-Tønnesen
2017-05-30 17:51:33 +02:00
parent 52218cafaf
commit 1257075c03
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1466,7 +1466,7 @@ $(document).on( "click", "#add-many", function(e){
var id = $(this).attr("data-video-id"); var id = $(this).attr("data-video-id");
var title = $(this).attr("data-video-title"); var title = $(this).attr("data-video-title");
var length = $(this).attr("data-video-length"); var length = $(this).attr("data-video-length");
$(this).parent().parent().remove();
Search.submit(id, title, length); Search.submit(id, title, length);
}); });