Planer: Schild-Input auf change-Event umgestellt (kein Fokus-Verlust beim Tippen)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e358a4e709
commit
b27986c0f4
@ -1110,7 +1110,7 @@ function renderInfoPanel(plan) {
|
|||||||
|
|
||||||
const shieldInput = el.querySelector('#plan-shield-k-input');
|
const shieldInput = el.querySelector('#plan-shield-k-input');
|
||||||
if (shieldInput) {
|
if (shieldInput) {
|
||||||
shieldInput.addEventListener('input', () => {
|
shieldInput.addEventListener('change', () => {
|
||||||
const val = parseFloat(shieldInput.value) || 0;
|
const val = parseFloat(shieldInput.value) || 0;
|
||||||
updatePlan(plan.id, { shieldK: val > 0 ? val : null });
|
updatePlan(plan.id, { shieldK: val > 0 ? val : null });
|
||||||
refreshMechanicList(plan.id);
|
refreshMechanicList(plan.id);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user