mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
clarify AN location, fix AN display toggle
This commit is contained in:
@ -2601,7 +2601,7 @@
|
||||
</a>
|
||||
<a id="option_toggle_AN">
|
||||
<i class="fa-lg fa-solid fa-note-sticky"></i>
|
||||
<span>Open Author's Note</span>
|
||||
<span>Author's Note Show/Hide</span>
|
||||
</a>
|
||||
<a id="option_convert_to_group">
|
||||
<i class="fa-lg fa-solid fa-people-arrows"></i>
|
||||
@ -2655,4 +2655,4 @@
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
@ -5667,15 +5667,20 @@ $(document).ready(function () {
|
||||
var id = $(this).attr("id");
|
||||
|
||||
if (id == "option_toggle_AN") {
|
||||
if (selected_group || this_chid !== undefined && $("#floatingPrompt").css("display") === 'none') {
|
||||
if (selected_group || this_chid !== undefined
|
||||
&& $("#floatingPrompt").css("display") !== 'flex') {
|
||||
$("#floatingPrompt").css("display", "flex");
|
||||
$("#floatingPrompt").css("opacity", 0.0);
|
||||
$("#floatingPrompt").transition({
|
||||
opacity: 1.0,
|
||||
duration: animation_duration,
|
||||
duration: 250,
|
||||
easing: animation_easing,
|
||||
});
|
||||
$("#ANBlockToggle").click();
|
||||
if ($("#ANBlockToggle")
|
||||
.siblings('.inline-drawer-content')
|
||||
.css('display') !== 'block') {
|
||||
$("#ANBlockToggle").click();
|
||||
}
|
||||
} else {
|
||||
$("#floatingPrompt").transition({
|
||||
opacity: 0.0,
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"display_name": "Author's Note / Character Bias",
|
||||
"display_name": "Author's Note (Located in Lower Left Options Menu)",
|
||||
"loading_order": 1,
|
||||
"requires": [],
|
||||
"optional": [],
|
||||
|
Reference in New Issue
Block a user