diff --git a/static/script.js b/static/script.js index 7f0f282..9f259b3 100644 --- a/static/script.js +++ b/static/script.js @@ -355,9 +355,10 @@ function startTimer() { async function triggerVmixExtraTimeAction(minutes, half) { const title = "ДОБАВЛЕННОЕ ВРЕМЯ ДЛЯ ВЕРХНЕГО СЧЕТА" + const value = `+${minutes}`; const commands = [ - vmixCmd(`Function=SetText&Input=${encodeURIComponent(title)}&SelectedName=Добавленное.Text&Value=+${minutes}`), + vmixCmd(`Function=SetText&Input=${encodeURIComponent(title)}&SelectedName=Добавленное.Text&Value=${encodeURIComponent(value)}`), vmixCmd(`Function=PreviewInput&Input=${encodeURIComponent(title)}`) ];