Instead of hiding the request form, disable the link after requesting a song.

This commit is contained in:
Jim Driessen
2017-02-01 11:35:31 +01:00
parent 17e134f528
commit 48b35a6fde

View File

@ -30,7 +30,7 @@ $(function () {
$.post('/api/request', {id: songId, csrfmiddlewaretoken: csrf_token}, function () {
refreshQueue();
});
hideRequestTable();
$(this).parent().text($(this).text());
return false;
});