1
0
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:
jcorporation
2018-09-24 22:45:35 +01:00
parent 068a7b723a
commit 4540e853ff
2 changed files with 10 additions and 2 deletions

View File

@@ -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);