mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix pin examples not saving properly
This commit is contained in:
@ -821,7 +821,8 @@
|
|||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
<label class="checkbox_label" for="pin-examples-checkbox"><input id="pin-examples-checkbox" type="checkbox" />
|
<label class="checkbox_label" for="pin-examples-checkbox">
|
||||||
|
<input id="pin-examples-checkbox" type="checkbox" />
|
||||||
Keep Example Messages in Prompt
|
Keep Example Messages in Prompt
|
||||||
</label>
|
</label>
|
||||||
<label class="checkbox_label" for="collapse-newlines-checkbox"><input id="collapse-newlines-checkbox" type="checkbox" />
|
<label class="checkbox_label" for="collapse-newlines-checkbox"><input id="collapse-newlines-checkbox" type="checkbox" />
|
||||||
|
@ -92,7 +92,7 @@ $(document).ready(() => {
|
|||||||
|
|
||||||
$("#pin-examples-checkbox").change(function () {
|
$("#pin-examples-checkbox").change(function () {
|
||||||
pin_examples = !!$(this).prop("checked");
|
pin_examples = !!$(this).prop("checked");
|
||||||
localStorage.setItem(storage_keys.force_pygmalion_formatting, pin_examples);
|
localStorage.setItem(storage_keys.pin_examples, pin_examples);
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#disable-description-formatting-checkbox").change(function () {
|
$("#disable-description-formatting-checkbox").change(function () {
|
||||||
|
Reference in New Issue
Block a user