From 415eff55a9db8da9077e0e1dd5d3c3672ff66e8a Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 23 Mar 2022 21:45:57 +0100 Subject: remove unused settings --- public/client.html | 27 --------------------------- webAO/client.js | 6 +++--- 2 files changed, 3 insertions(+), 30 deletions(-) diff --git a/public/client.html b/public/client.html index f30e708..28a0bf1 100644 --- a/public/client.html +++ b/public/client.html @@ -507,33 +507,6 @@ placeholder="Put 1 callword per line here" onchange="changeCallwords()">

- ↓ Only touch these settings if you know what you are doing. ↓ -
-
- - -
-
- - -
-
- - -
-
- - -
-
Changing these settings will save them as a cookie.
By doing so, you agree to it being saved.
If you don't agree, disable cookies for this site in your browser.
diff --git a/webAO/client.js b/webAO/client.js index dfba169..6a2947c 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -9,7 +9,7 @@ import { EventEmitter } from 'events'; import fileExistsSync from './utils/fileExistsSync'; import { escapeChat, encodeChat, prepChat, safeTags, -} from './encoding.js'; +} from './encoding'; import mlConfig from './utils/aoml'; // Load some defaults for the background and evidence dropdowns import vanilla_character_arr from './constants/characters.js'; @@ -2957,7 +2957,7 @@ window.updateActionCommands = updateActionCommands; */ export function changeBackgroundOOC() { const selectedBG = document.getElementById('bg_select'); - const changeBGCommand = document.getElementById('bg_command').value; + const changeBGCommand = "bg $1"; const bgFilename = document.getElementById('bg_filename'); let filename = ''; @@ -2987,7 +2987,7 @@ window.changeRoleOOC = changeRoleOOC; * Random character via OOC. */ export function randomCharacterOOC() { - client.sendOOC(`/${document.getElementById('randomchar_command').value}`); + client.sendOOC(`/randomchar`); } window.randomCharacterOOC = randomCharacterOOC; -- cgit