MCPcopy Index your code
hub / github.com/AUTOMATIC1111/stable-diffusion-webui / showRestoreProgressButton

Function showRestoreProgressButton

javascript/ui.js:144–148  ·  view source on GitHub ↗
(tabname, show)

Source from the content-addressed store, hash-verified

142}
143
144function showRestoreProgressButton(tabname, show) {
145 var button = gradioApp().getElementById(tabname + "_restore_progress");
146 if (!button) return;
147 button.style.setProperty('display', show ? 'flex' : 'none', 'important');
148}
149
150function submit() {
151 showSubmitButtons('txt2img', false);

Callers 5

submitFunction · 0.85
submit_img2imgFunction · 0.85
restoreProgressTxt2imgFunction · 0.85
restoreProgressImg2imgFunction · 0.85
ui.jsFile · 0.85

Calls 1

gradioAppFunction · 0.85

Tested by

no test coverage detected