Skill issue

This commit is contained in:
Cohee 2023-10-27 21:09:53 +03:00
parent 52ecad1cdf
commit 4524f6dbfd
1 changed files with 4 additions and 1 deletions

View File

@ -1095,7 +1095,10 @@ function switchMaxContextSize() {
for (const element of elements) {
element.attr('max', maxValue);
element.attr('step', steps);
if (element.attr('id') == 'max_context') {
element.attr('min', minValue);
}
const value = Number(element.val());
if (value >= maxValue) {