From 23ab98be8820bfb87d9998193d4adcf6842d1745 Mon Sep 17 00:00:00 2001 From: dakkar Date: Thu, 30 Dec 2021 17:25:46 +0000 Subject: apparently this makes the buttons more reliable --- resources/index.html | 18 +++++++++++++----- 1 file 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; -- cgit v1.2.3