mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-13 00:02:21 +01:00
Add mute button.
This commit is contained in:
@ -97,6 +97,11 @@ $(function () {
|
||||
$.post('/api/volumeup', {csrfmiddlewaretoken: csrf_token});
|
||||
});
|
||||
|
||||
$('#mute').click(function(e){
|
||||
e.preventDefault();
|
||||
$.post('/api/mute', {csrfmiddlewaretoken: csrf_token});
|
||||
});
|
||||
|
||||
$(document).on('touchstart', '.artist, .title', function(){
|
||||
noRemove = true;
|
||||
setTimeout(function(){ noRemove = false; }, 500);
|
||||
|
||||
Reference in New Issue
Block a user