mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Format code
This commit is contained in:
@@ -3027,9 +3027,9 @@
|
|||||||
<input id="relaxed_api_urls" type="checkbox" />
|
<input id="relaxed_api_urls" type="checkbox" />
|
||||||
<span data-i18n="Relaxed API URLS">Relaxed API URLs</span>
|
<span data-i18n="Relaxed API URLS">Relaxed API URLs</span>
|
||||||
</label>
|
</label>
|
||||||
<label data-newbie-hidden class="checkbox_label" for="world_import_dialog" title="Ask to import the World Info/Lorebook for every new character with one embedded. If unchecked, a brief message will be shown instead.">
|
<label data-newbie-hidden class="checkbox_label" for="world_import_dialog" title="Ask to import the World Info/Lorebook for every new character with embedded lorebook. If unchecked, a brief message will be shown instead.">
|
||||||
<input id="world_import_dialog" type="checkbox" />
|
<input id="world_import_dialog" type="checkbox" />
|
||||||
<span data-i18n="World Import Dialog">World Import Dialog</span>
|
<span data-i18n="Lorebook Import Dialog">Lorebook Import Dialog</span>
|
||||||
</label>
|
</label>
|
||||||
<label data-newbie-hidden id="movingUIModeCheckBlock" for="movingUImode" class="checkbox_label">
|
<label data-newbie-hidden id="movingUIModeCheckBlock" for="movingUImode" class="checkbox_label">
|
||||||
<input id="movingUImode" type="checkbox" />
|
<input id="movingUImode" type="checkbox" />
|
||||||
|
@@ -1714,7 +1714,7 @@ export function checkEmbeddedWorld(chid) {
|
|||||||
if (!localStorage.getItem(checkKey) && (!worldName || !world_names.includes(worldName))) {
|
if (!localStorage.getItem(checkKey) && (!worldName || !world_names.includes(worldName))) {
|
||||||
localStorage.setItem(checkKey, 1);
|
localStorage.setItem(checkKey, 1);
|
||||||
|
|
||||||
if(power_user.world_import_dialog) {
|
if (power_user.world_import_dialog) {
|
||||||
callPopup(`<h3>This character has an embedded World/Lorebook.</h3>
|
callPopup(`<h3>This character has an embedded World/Lorebook.</h3>
|
||||||
<h3>Would you like to import it now?</h3>
|
<h3>Would you like to import it now?</h3>
|
||||||
<div class="m-b-1">If you want to import it later, select "Import Card Lore" in the "More..." dropdown menu on the character panel.</div>`,
|
<div class="m-b-1">If you want to import it later, select "Import Card Lore" in the "More..." dropdown menu on the character panel.</div>`,
|
||||||
|
Reference in New Issue
Block a user