aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2021-12-30 17:25:46 +0000
committerdakkar <dakkar@thenautilus.net>2021-12-30 17:25:46 +0000
commit23ab98be8820bfb87d9998193d4adcf6842d1745 (patch)
tree0fddba35152062f9175fc1daa416c88db753eeb1
parentlonger busy-timeout (diff)
downloadmedia-control-23ab98be8820bfb87d9998193d4adcf6842d1745.tar.gz
media-control-23ab98be8820bfb87d9998193d4adcf6842d1745.tar.bz2
media-control-23ab98be8820bfb87d9998193d4adcf6842d1745.zip
apparently this makes the buttons more reliable
-rw-r--r--resources/index.html18
1 files changed, 13 insertions, 5 deletions
diff --git a/resources/index.html b/resources/index.html
index 33030c7..3b08c4b 100644
--- a/resources/index.html
+++ b/resources/index.html
@@ -47,12 +47,12 @@
});
}
- function vlcCommand(command,args) {
- call('post',`vlc/${command}`,args);
+ async function vlcCommand(command,args) {
+ await call('post',`vlc/${command}`,args);
}
- function irCommand(thing,arg) {
- call('post',`ir/${thing}/${arg}`);
+ async function irCommand(thing,arg) {
+ await call('post',`ir/${thing}/${arg}`);
}
async function updateView() {
@@ -158,13 +158,21 @@
input[type=range] {
width: 100%;
- transform: scaleY(5);
+ /* transform: scaleY(5); */
}
#files {
width: 100%;
overflow-x: scroll;
}
+ #files summary {
+ position: sticky;
+ left: 0;
+ }
+ #files a {
+ text-decoration: none;
+ color: inherit;
+ }
#files ul {
width: min-content;