mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
add reference to original, reimplement control-xs
This commit is contained in:
@@ -2,6 +2,7 @@ function setupControlUI() {
|
||||
const tabs = ['input', 'output', 'preview'];
|
||||
for (const tab of tabs) {
|
||||
const btn = gradioApp().getElementById(`control-${tab}-button`);
|
||||
if (!btn) continue; // eslint-disable-line no-continue
|
||||
btn.style.cursor = 'pointer';
|
||||
btn.onclick = () => {
|
||||
const t = gradioApp().getElementById(`control-tab-${tab}`);
|
||||
|
||||
Reference in New Issue
Block a user