Rearrange scripts

This commit is contained in:
SillyLossy
2023-04-08 21:55:46 +03:00
parent bd95563686
commit 98a14a0c1b
2 changed files with 3 additions and 4 deletions

View File

@@ -23,7 +23,6 @@
<script src="scripts/popper.js"></script> <script src="scripts/popper.js"></script>
<script src="scripts/purify.min.js"></script> <script src="scripts/purify.min.js"></script>
<script type="module" src="scripts/power-user.js"></script> <script type="module" src="scripts/power-user.js"></script>
<script type="module" src="scripts/RossAscends-mods.js"></script>
<script type="module" src="scripts/swiped-events.js"></script> <script type="module" src="scripts/swiped-events.js"></script>
<link rel="stylesheet" type="text/css" href="style.css"> <link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="css/bg_load.css"> <link rel="stylesheet" href="css/bg_load.css">
@@ -38,6 +37,7 @@
<script type="module" src="scripts/bookmarks.js"></script> <script type="module" src="scripts/bookmarks.js"></script>
<script type="module" src="scripts/horde.js"></script> <script type="module" src="scripts/horde.js"></script>
<script type="module" src="scripts/poe.js"></script> <script type="module" src="scripts/poe.js"></script>
<script type="module" src="scripts/RossAscends-mods.js"></script>
<title>Tavern.AI</title> <title>Tavern.AI</title>
</head> </head>
@@ -339,8 +339,7 @@
</div> </div>
<div class="range-block"> <div class="range-block">
<label for="poe_character_nudge" class="checkbox_label"> <label for="poe_character_nudge" class="checkbox_label">
<input id="poe_character_nudge" type="checkbox" />
<input id="poe_character_nudge" class="text_pole" type="checkbox" />
Send character note Send character note
</label> </label>
<div class="range-block-counter justifyLeft"> <div class="range-block-counter justifyLeft">

View File

@@ -317,7 +317,7 @@ $("document").ready(function () {
if (LoadLocalBool("AutoConnectEnabled") == true) { RA_autoconnect(); } if (LoadLocalBool("AutoConnectEnabled") == true) { RA_autoconnect(); }
$("#main_api").change(function () { $("#main_api").change(function () {
var PrevAPI = main_api; var PrevAPI = main_api;
RA_autoconnect(PrevAPI); setTimeout(() => RA_autoconnect(PrevAPI), 100);
}); });
$("#api_button").click(function () { setTimeout(RA_checkOnlineStatus, 100); }); $("#api_button").click(function () { setTimeout(RA_checkOnlineStatus, 100); });