MCPcopy Create free account
hub / github.com/pollinations/pollinations / resetButton

Function resetButton

apps/catgpt/script.js:280–289  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

278}
279
280function resetButton() {
281 dom.generateBtn.classList.remove("generating", "retrying");
282 dom.generateBtn.textContent = "Generate Meme";
283 currentAbort = null;
284 stopCatAnimation();
285 setInputsDisabled(false);
286 updateGenerateButtonState();
287 clearInterval(progressInterval);
288 progressInterval = null;
289}
290
291// ── URL Sanitization ─────────────────────────────────────────────────────────
292

Callers 1

generateMemeFunction · 0.85

Calls 4

stopCatAnimationFunction · 0.85
setInputsDisabledFunction · 0.85
removeMethod · 0.65

Tested by

no test coverage detected