mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 20:02:20 +01:00
Instead of hiding the request form, disable the link after requesting a song.
This commit is contained in:
@ -30,7 +30,7 @@ $(function () {
|
||||
$.post('/api/request', {id: songId, csrfmiddlewaretoken: csrf_token}, function () {
|
||||
refreshQueue();
|
||||
});
|
||||
hideRequestTable();
|
||||
$(this).parent().text($(this).text());
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user