From f82abf9d34513d576f5e42042e057cb88b87940e Mon Sep 17 00:00:00 2001 From: Maroxy Date: Sun, 28 Nov 2021 19:28:17 +0100 Subject: [PATCH] fix stacking issue --- public/html/settings.html | 17 +++++++++++------ src/ts/settings.ts | 4 ++-- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/public/html/settings.html b/public/html/settings.html index 21d67d2..3983699 100644 --- a/public/html/settings.html +++ b/public/html/settings.html @@ -112,12 +112,6 @@ -
- empty - - - -
System @@ -136,6 +130,17 @@
+
+ +
+ Prefix: + + empty + +     + +
+

diff --git a/src/ts/settings.ts b/src/ts/settings.ts index 68db7b7..e95e705 100644 --- a/src/ts/settings.ts +++ b/src/ts/settings.ts @@ -58,10 +58,10 @@ $(() => { * Prefix */ - $('#prefixloc span').text(LauncherLib.getConfig('prefix')); + $('#prefixloc #currentprefix').text(LauncherLib.getConfig('prefix')); ipcRenderer.on('prefix-changed', () => { - $('#prefixloc span').text(LauncherLib.getConfig('prefix')); + $('#prefixloc #currentprefix').text(LauncherLib.getConfig('prefix')); }) $('#prefixloc #prefixdir').on('click', () => {