mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-11 09:42: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 () {
|
$.post('/api/request', {id: songId, csrfmiddlewaretoken: csrf_token}, function () {
|
||||||
refreshQueue();
|
refreshQueue();
|
||||||
});
|
});
|
||||||
hideRequestTable();
|
$(this).parent().text($(this).text());
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user