diff options
| author | stonedDiscord <stoned@derpymail.org> | 2019-07-26 16:35:17 +0200 |
|---|---|---|
| committer | stonedDiscord <stoned@derpymail.org> | 2019-07-26 16:35:17 +0200 |
| commit | c1addadf76731b386f69a71e361e803d12f88176 (patch) | |
| tree | 3f58013586db487575f7e620258c4be5f063c01c /webAO/client.js | |
| parent | cd5233a353eccd6aa7b92431dc6ca7040adf8bd0 (diff) | |
forgot paranthesis on conditional statement
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webAO/client.js b/webAO/client.js index ac821a5..ce1b769 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -285,13 +285,13 @@ class Client extends EventEmitter { */ loadResources() { // Read cookies and set the UI to its values - document.getElementById("OOC_name").value = getCookie("OOC_name") === "" ? "web" + this.playerID : getCookie("OOC_name"); + document.getElementById("OOC_name").value = (getCookie("OOC_name") === "") ? "web" + this.playerID : getCookie("OOC_name"); - document.getElementById("client_mvolume").value = getCookie("musicVolume") === "" ? 80 : getCookie("musicVolume"); + document.getElementById("client_mvolume").value = (getCookie("musicVolume") === "") ? 80 : getCookie("musicVolume"); changeMusicVolume(); - document.getElementById("client_svolume").value = getCookie("sfxVolume") === "" ? 70 : getCookie("sfxVolume"); + document.getElementById("client_svolume").value = (getCookie("sfxVolume") === "") ? 70 : getCookie("sfxVolume"); changeSFXVolume(); - document.getElementById("client_bvolume").value = getCookie("blipVolume") === "" ? 60 : getCookie("blipVolume"); + document.getElementById("client_bvolume").value = (getCookie("blipVolume") === "") ? 60 : getCookie("blipVolume"); changeBlipVolume(); // Load evidence array to select |
