diff --git a/public/index.html b/public/index.html index d417a5b81..c23a7de81 100644 --- a/public/index.html +++ b/public/index.html @@ -2734,7 +2734,7 @@ function callPopup(text){ $("#dialogue_popup_cancel").css("display", "inline-block"); switch(popup_type){ - + case 'text': case 'char_not_selected': $("#dialogue_popup_ok").text("Ok"); @@ -4319,6 +4319,12 @@ // World Info Editor async function showWorldEditor() { + if (!world_info) { + popup_type = 'default'; + callPopup('

Select a world info first!

'); + return; + } + is_world_edit_open = true; $('#world_popup_name').val(world_info); $('#world_popup').css('display', 'flex'); @@ -5394,10 +5400,10 @@ -
-

Character Anchor

-

Style Anchor

-
+
+ + +
@@ -5406,8 +5412,8 @@

Power User Options

-

Auto-connects Last Server

-

Auto-load Last Chat

+ +
diff --git a/public/scripts/extensions.js b/public/scripts/extensions.js index 6ed2678de..e2d03b5c2 100644 --- a/public/scripts/extensions.js +++ b/public/scripts/extensions.js @@ -7,7 +7,7 @@ let extensions = []; const settings_html = `

-

Extensions

+

Extensions: TavernAI-extras

diff --git a/public/style.css b/public/style.css index 226bb2928..db01d892f 100644 --- a/public/style.css +++ b/public/style.css @@ -1634,13 +1634,15 @@ input[type="range"] { background-color: var(--black50a); } #anchor_checkbox, #power-user-option-checkboxes{ - + display: flex; + flex-direction: column; + row-gap: 5px; +} +#anchor_checkbox label, #power-user-option-checkboxes label { + display: flex; + flex-direction: row; + column-gap: 10px; align-items: center; - text-align: left; - display: grid; - grid-template-rows: 30px auto; - grid-template-columns: 30px auto; - grid-gap:5px; } #shadow_character_popup{