dont gaslight user to click zenSlider numbers

This commit is contained in:
RossAscends 2023-11-10 16:31:47 +09:00
parent dfb8a85eed
commit 024581de84
2 changed files with 3 additions and 1 deletions

View File

@ -118,7 +118,7 @@
<div class="checked fa-solid fa-lock "></div>
</label>
</div>
<div data-i18n="clickslidertips" class="toggle-description wide100p editable-slider-notification">
<div id="clickSlidersTips" data-i18n="clickslidertips" class="toggle-description wide100p editable-slider-notification">
Click slider numbers to input manually.
</div>
<div id="labModeWarning" class="redWarningBG textAlignCenter">MAD LAB MODE ON</div>

View File

@ -483,6 +483,7 @@ async function switchZenSliders() {
if (power_user.enableZenSliders) {
$("#clickSlidersTips").hide()
$("#pro-settings-block input[type='number']").hide();
//hide number inputs that are not 'seed' inputs
$(`#textgenerationwebui_api-settings :input[type='number']:not([id^='seed']),
@ -497,6 +498,7 @@ async function switchZenSliders() {
CreateZenSliders($(this))
})
} else {
$("#clickSlidersTips").show()
revertOriginalSliders();
}