From 072d04930a2092c4cdf2ae781f284d9ca66a2331 Mon Sep 17 00:00:00 2001 From: Kristy Fournier <124598538+kristy-fournier@users.noreply.github.com> Date: Tue, 21 Jan 2025 20:41:47 -0500 Subject: [PATCH] fixed a bug in the client js --- Client/scripts.js | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Client/scripts.js b/Client/scripts.js index e17be30..6338825 100644 --- a/Client/scripts.js +++ b/Client/scripts.js @@ -328,7 +328,7 @@ document.getElementById("songlist").addEventListener('click', function(e){checkW //makes the controls look mostly normal on all screens, best solution i could find, idk man let tempWidth = document.getElementById('controls').clientWidth; document.getElementById("controls").style.marginLeft = "-"+String(parseInt(tempWidth/2))+"px"; -document.getElementById("darkmode-button").addEventListener('click',function(){toggleDark()}) +// document.getElementById("darkmode-button").addEventListener('click',function(){toggleDark()}) //for my use case (my immediate family), they dont know how to set an ip //using this allows the creator of the link for, a qr code for example, to set the ip before distributing the code, and it would all work smoothly //example (http://192.168.1.100:8000/?ip=192.168.1.100:19054 sets the ip to the same host at the default port) diff --git a/readme.md b/readme.md index 903e3c9..02b7058 100644 --- a/readme.md +++ b/readme.md @@ -83,4 +83,4 @@ From left to right: - Party Mode adds new songs to the queue when the queue has only 1 song in it - Volume controls the VLC volume of the connected server - *Because the volume can be controlled in the client, for best usage set your device volume as high as possible and turn it down using this slider* - - QR code to allow others to connect to the Remote URL \ No newline at end of file + - QR code to allow others to connect to and use the Remote \ No newline at end of file