diff --git a/public/index.html b/public/index.html index b21b09761..7d1326c36 100644 --- a/public/index.html +++ b/public/index.html @@ -2601,7 +2601,7 @@ - Open Author's Note + Author's Note Show/Hide @@ -2655,4 +2655,4 @@ - + \ No newline at end of file diff --git a/public/script.js b/public/script.js index 7551ab3e9..5b0b5cc35 100644 --- a/public/script.js +++ b/public/script.js @@ -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, diff --git a/public/scripts/extensions/floating-prompt/manifest.json b/public/scripts/extensions/floating-prompt/manifest.json index 64fac1b56..edcacbc74 100644 --- a/public/scripts/extensions/floating-prompt/manifest.json +++ b/public/scripts/extensions/floating-prompt/manifest.json @@ -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": [],