mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-20 13:38:49 +01:00
Skill issue
This commit is contained in:
parent
52ecad1cdf
commit
4524f6dbfd
@ -1095,7 +1095,10 @@ function switchMaxContextSize() {
|
||||
for (const element of elements) {
|
||||
element.attr('max', maxValue);
|
||||
element.attr('step', steps);
|
||||
element.attr('min', minValue);
|
||||
|
||||
if (element.attr('id') == 'max_context') {
|
||||
element.attr('min', minValue);
|
||||
}
|
||||
const value = Number(element.val());
|
||||
|
||||
if (value >= maxValue) {
|
||||
|
Loading…
Reference in New Issue
Block a user