mirror of
https://github.com/SuperBFG7/ympd
synced 2025-10-21 17:07:41 +00:00
Fix: don't close menu on volume down/up click
This commit is contained in:
@@ -295,6 +295,14 @@ function appInit() {
|
||||
webSocketConnect();
|
||||
|
||||
domCache.volumeBar.value = 0;
|
||||
|
||||
document.getElementById('btnChVolumeDown').addEventListener('click', function(event) {
|
||||
event.stopPropagation();
|
||||
}, false);
|
||||
document.getElementById('btnChVolumeUp').addEventListener('click', function(event) {
|
||||
event.stopPropagation();
|
||||
}, false);
|
||||
|
||||
domCache.volumeBar.addEventListener('click', function(event) {
|
||||
event.stopPropagation();
|
||||
}, false);
|
||||
|
Reference in New Issue
Block a user