Agent Zero AI framework
Pause button fix
frdel184f8dcf53ec
diff --git a/webui/index.js b/webui/index.jsindex 1f87375bb..5ee658f91 100644--- a/webui/index.js+++ b/webui/index.js@@ -395,22 +395,8 @@ function updateProgress(progress) {}}-function updatePauseButtonState(isPaused) {- const pauseButton = document.getElementById('pause-button');- const unpauseButton = document.getElementById('unpause-button');-- if (isPaused) {- pauseButton.style.display = 'none';- unpauseButton.style.display = 'flex';- } else {- pauseButton.style.display = 'flex';- unpauseButton.style.display = 'none';- }-}-window.pauseAgent = async function (paused) {const resp = await sendJsonData("/pause", { paused: paused, context });- updatePauseButtonState(paused);}window.resetChat = async function () {