Small Fix for First Startup

Silly Mistake...
This commit is contained in:
williamhackett0 2022-05-02 13:51:21 +01:00
parent 4be27bc771
commit cb1569dda1
2 changed files with 2 additions and 2 deletions

View file

@ -156,7 +156,7 @@
<hr /> <hr />
<div class="form-group"> <div class="form-group">
<label for="monitorInput">Monitor ID (0, 1, etc)</label> <label for="monitorInput">Monitor ID (0, 1, etc)</label>
<input id="monitorInput" title="Typically your primary monitor is ID 0, however due to Windows stuff this isn't always the case... MUST BE A NUMBER!" type="text" class="form-control" placeholder="0"> <input id="monitorInput" title="Typically your primary monitor is ID 0, however due to Windows stuff this isn't always the case... MUST BE A NUMBER!" type="text" class="form-control" value="0">
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="switch"> <label class="switch">

View file

@ -33,7 +33,7 @@ function initSettings() {
clientSettings.ip = "0.0.0.0"; clientSettings.ip = "0.0.0.0";
} }
if (!clientSettings.hasOwnProperty("monitorID")) { if (!clientSettings.hasOwnProperty("monitorID")) {
clientSettings.ip = "0"; clientSettings.monitorID = "0";
} }
if (!clientSettings.hasOwnProperty("quality")) { if (!clientSettings.hasOwnProperty("quality")) {
clientSettings.quality = 5; clientSettings.quality = 5;