Small cosmetic fixes

323b9407df6433f4251a780bad549cb6ed2d640b

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +6 -1Ignore whitespace
public/index.html+1 -1
@@ -1780,7 +1780,7 @@
17801780 <span data-i18n="Sampler Order">Sampler Order</span>
17811781 <div class="margin5 fa-solid fa-circle-info opacity50p" title="Aphrodite only. Determines the order of samplers. Skew is always applied post-softmax, so it's not included here." data-i18n="[title]Aphrodite only. Determines the order of samplers. Skew is always applied post-softmax, so it's not included here."></div>
17821782 </h4>
17831783 <div class="toggle-description widthUnset" data-i18n="Aphrodite only. Determines the order of samplers. Skew is always applied post-softmax, so it's not included here.">
17841784 Aphrodite only. Determines the order of samplers.
17851785 </div>
17861786 <div id="sampler_priority_container_aphrodite" class="prompt_order">
public/scripts/textgen-settings.js+5 -0
@@ -571,7 +571,12 @@ function sortOobaItemsByOrder(orderArray) {
571571 });
572572}
573573
574+/**
575+ * Sorts the Aphrodite sampler items by the given order.
576+ * @param {string[]} orderArray Sampler order array.
577+ */
574578function sortAphroditeItemsByOrder(orderArray) {
579+ console.debug('Preset samplers order: ', orderArray);
575580 const $container = $('#sampler_priority_container_aphrodite');
576581
577582 orderArray.forEach((name) => {