From 4524f6dbfdf430604bd9b76e3156a1fcfcb915cd Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Fri, 27 Oct 2023 21:09:53 +0300 Subject: [PATCH] Skill issue --- public/scripts/power-user.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js index 3dc83c8cf..5f5cc761e 100644 --- a/public/scripts/power-user.js +++ b/public/scripts/power-user.js @@ -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) {