mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-24 10:38:14 +03:00
fix stacking issue
This commit is contained in:
parent
e5ac400bd4
commit
f82abf9d34
2 changed files with 13 additions and 8 deletions
|
@ -112,12 +112,6 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="prefixloc">
|
||||
<span id="setprefix">empty</span>
|
||||
|
||||
<button class="button" id="prefixdir" i18id="ChangePrefix">Change Prefix</button>
|
||||
<button class="button" id="defprefix" i18id="DefPrefix">Reset</button>
|
||||
</div>
|
||||
|
||||
<div class="selected-item">
|
||||
<span>System</span>
|
||||
|
@ -136,6 +130,17 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div id="prefixloc">
|
||||
<span>Prefix: </span>
|
||||
|
||||
<span id="currentprefix">empty</span>
|
||||
|
||||
<button class="button" id="prefixdir" i18id="ChangePrefix">Change Prefix</button>
|
||||
<button class="button" id="defprefix" i18id="DefPrefix">Reset</button>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
|
||||
<div id="general-action-buttons">
|
||||
|
|
|
@ -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', () => {
|
||||
|
|
Loading…
Reference in a new issue