mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
chore: format
This commit is contained in:
@@ -725,10 +725,12 @@
|
||||
sourceButton.click();
|
||||
} else if (sourcesCollapsible) {
|
||||
// Open sources collapsible so we can click the source button
|
||||
sourcesCollapsible.querySelector("div:first-child").dispatchEvent(new PointerEvent('pointerup', {}))
|
||||
sourcesCollapsible
|
||||
.querySelector('div:first-child')
|
||||
.dispatchEvent(new PointerEvent('pointerup', {}));
|
||||
|
||||
// Wait for next frame to ensure DOM updates
|
||||
await new Promise(resolve => {
|
||||
await new Promise((resolve) => {
|
||||
requestAnimationFrame(() => {
|
||||
requestAnimationFrame(resolve);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user